[Koha-bugs] [Bug 16158] GetAuthorisedValues should not be called inside a loop

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 29 18:14:01 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16158

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 49644
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49644&action=edit
Bug 16158: Move GetAuthorisedValues outside the loop

In catalogue/detail.pl and catalogue/moredetail.pl, the
GetAuthorisedValues subroutine is called once per item. It's not needed,
only 1 call is enough.

Test plan:
Edit item and view a catalogue record.
The withdrawn, lost and damaged values should be correctly
displayed/saved.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list