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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 3 Oct 2023 12:51:11 +0000 (08:51 -0400)
commit4fadf73a95f82ca7abd3d27f490a51825949f7b0
treeed6f4cbd54fe5dc9da8df7a382c1397c448b1d87
parentea91896f1531f2c042897849cf313e18aaa5bd64
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>
opac/opac-ISBDdetail.pl
opac/opac-MARCdetail.pl