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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 8 Jun 2023 11:32:39 +0000 (08:32 -0300)
commitc4e016f4dfdcce272524dfff5abffe01a276d25e
tree75580c47cb7c649e4f638ccd8f356fd96e85f259
parentfac7bb247a5a8430152f97727f2cbdd8b4b54e19
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>
opac/opac-readingrecord.pl