Bug 36511: Some scripts missing a dependency following Bug 24879 23.05.x v23.05.10-02
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Apr 2024 15:55:57 +0000 (15:55 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 11 Apr 2024 14:28:13 +0000 (14:28 +0000)
commit72cead50b49efaad6349cf653b970e6f5b610475
treed647bad187fb6e9808b5b9339d622bbf49c67d0d
parent37a2f404b4bfadc0a37fb2bf6788797f2574bc69
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>
(cherry picked from commit 01b22fb71d30f56d3102837b5c9b4cfdacbc9e76)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
acqui/check_uniqueness.pl
catalogue/image.pl
labels/label-create-csv.pl
labels/label-create-xml.pl
serials/lateissues-export.pl