| Summary: | CanItemBeReserved fetches biblio for agerestriction check if feature not enabled | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
| Component: | Hold requests | Assignee: | Nick Clemens (kidclamp) <nick> |
| Status: | CLOSED FIXED | QA Contact: | Marcel de Rooy <m.de.rooy> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | fridolin.somers, gmcharlt, kyle, m.de.rooy |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: |
22.05.00,21.11.05
|
|
| Circulation function: | |||
| Bug Depends on: | |||
| Bug Blocks: | 7923 | ||
| Attachments: |
Bug 29517: Check if agerestriction field is mapped before fetching biblio
Bug 29517: Check if agerestriction field is mapped before fetching biblio Bug 29517: Check if agerestriction field is mapped before fetching biblio |
||
|
Description
Nick Clemens (kidclamp)
2021-11-18 12:03:30 UTC
Created attachment 127788 [details] [review] 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 Created attachment 131541 [details] [review] 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@biblibre.com> Nice performance catch Created attachment 132218 [details] [review] 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@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Pushed to master for 22.05, thanks to everybody involved [U+1F984] Pushed to 21.11.x for 21.11.05 |