[Koha-bugs] [Bug 29517] CanItemBeReserved fetches biblio for agerestriction check if feature not enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 10 09:03:14 CET 2022


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

Fridolin Somers <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #127788|0                           |1
        is obsolete|                            |

--- Comment #2 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 131541
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131541&action=edit
Bug 29517: Check if agerestriction field is mapped before fetching biblio

This patch simply adds a check of cached values to see if agerestriction
enabled before
fetching the biblio object

To test:
1 - prove -v t/db_dependent/Holds.t

Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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


More information about the Koha-bugs mailing list