Bug 33950: Don't get marcxml if not necessary - opac-readingrecord.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Jun 2023 08:14:33 +0000 (10:14 +0200)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 12 Jul 2023 09:16:18 +0000 (09:16 +0000)
commita880011106e9577597b07091e76d4f030faad9f5
tree3e600d2d72528f843cb8d710129283594bab3ab4
parent773efeb42f3cc3ab93bccb007b3d309edaff7238
Bug 33950: Don't get marcxml if not necessary - opac-readingrecord.pl

We are retrieving normalized_upc from the MARC XML in the controller (opac-readingrec.pl)
for all issues to display, but this is only used if BakerTaylor or Syndetics are enabled.

Test plan:
Have some checkouts and confirm that the checkout history is displayed
the same before and after this patch.
You should also test BakerTaylor or Syndetics and see if they are
working correctly, but I have no idea how to test them!

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c4e016f4dfdcce272524dfff5abffe01a276d25e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0db7678c7bcc8ac5ee494f3cde939180d7215000)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
opac/opac-readingrecord.pl