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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Tue, 17 Oct 2023 13:34:14 +0000 (14:34 +0100)
commitf43bd53f09bf1675fef001efdf3b474a0e20d278
treee08f29554675d0d65bf63ed1832c6a8f0d44d48f
parent0df2266f856b3b0036588d501823d4737d519f40
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>
(cherry picked from commit 0c8dda1dcc8cb1d074cde223ccd43b0b0933332d)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
opac/opac-ISBDdetail.pl
opac/opac-MARCdetail.pl