https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8775
Nick Clemens <n...@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |n...@bywatersolutions.com --- Comment #17 from Nick Clemens <n...@bywatersolutions.com> --- (In reply to Jonathan Druart from comment #16) > Created attachment 86202 [details] [review] > Bug 8775: Use the AV mapped with items.ccode instead of CCODE > > Signed-off-by: Jonathan Druart <jonathan.dru...@bugs.koha-community.org> The newer method (GetDescriptionBYKOhaField) is nice because it caches, however, it does not currently return a value when the code does not match an authorised value. This patch also repeats the code and description when a description is found: [% item.ccode%][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %] Obsoleting the last patch here, please address using the new method and returning the code if no value found on another bug. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/