https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8775 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com --- Comment #17 from Nick Clemens <nick@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.druart@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.