Bug 34836: Add patron check to isbd and marc detail pages
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Mon, 25 Sep 2023 10:21:36 +0000 (10:21 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 Oct 2023 18:41:37 +0000 (08:41 -1000)
commit0c8dda1dcc8cb1d074cde223ccd43b0b0933332d
treed7e14d744b32a5e340bef1d82583879c8668893c
parentb89e31393ef050673611747cc26dd6b90ef74d0d
Bug 34836: Add patron check to isbd and marc detail pages

Test plan:
- Go to circulation rules and set On shelf holds allowed to If all unavailable
- Log out
- Visit a MARC detail or ISBD detail bib record on OPAC:
http://localhost:8080/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=76
http://localhost:8080/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=76
- Notice it blows up with error 500, on both occasions
- Apply patch. Repeat.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4fadf73a95f82ca7abd3d27f490a51825949f7b0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-ISBDdetail.pl
opac/opac-MARCdetail.pl