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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 12 Jul 2023 06:54:00 +0000 (07:54 +0100)
commit0db7678c7bcc8ac5ee494f3cde939180d7215000
tree7033bcd54be2ed60d59b254efee2db3232b82fd7
parent7bb9bad4ef5ed493908e0e6a9da9a9ac5f733035
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>
opac/opac-readingrecord.pl