Bug 36511: Some scripts missing a dependency following Bug 24879 v23.11.04-4
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Apr 2024 15:55:57 +0000 (15:55 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 11 Apr 2024 13:57:36 +0000 (15:57 +0200)
commit01b22fb71d30f56d3102837b5c9b4cfdacbc9e76
tree37ad76d3054868ac0853e0aa9505c3978f9ef840
parentfc62bdd1757cecac47cdfd5496981e2482ccb1aa
Bug 36511: Some scripts missing a dependency following Bug 24879

These files needed the addition of 'use C4::Auth qw( check_cookie_auth
);'.

To test, apply the patch and restart services.

- If necessary, enable the LocalCoverImages system preference.
- Open the browser console and then the "Network" tab. You can click
  "Images" to filter for the correct kind of request.
- Perform a catalog search. After the search has loaded, check that
  there are no 500 errors in the Network tab.

- Go to Cataloging -> Label creator.
- If necessary, create a label batch and add some items.
- Export your batch and test both the "Download as CSV" and "Download as
  XML" links. Both should trigger the correct download.

- Go to Serials -> Claims, and select a vendor with late issues.
- Select all late issues and click "Download selected claims" at the
  bottom of the page.
- Your CSV file should download correctly.

The file acqui/check_uniqueness.pl has been corrected as well but I'm
not sure how to test it!

Signed-off-by: danyonsewell <danyonsewell@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 747f5132311ea51ea6babbfc92a775ac0c67f93a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
acqui/check_uniqueness.pl
catalogue/image.pl
labels/label-create-csv.pl
labels/label-create-xml.pl
serials/lateissues-export.pl