Bug 36511: Some scripts missing a dependency following Bug 24879
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Apr 2024 15:55:57 +0000 (15:55 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 10 Apr 2024 07:09:50 +0000 (09:09 +0200)
commit747f5132311ea51ea6babbfc92a775ac0c67f93a
tree2fef11c2de1f7a10c14066d5667b6ef23459baee
parent14b69a254eb202a08f279d96576618f9b94eb4e2
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>
acqui/check_uniqueness.pl
catalogue/image.pl
labels/label-create-csv.pl
labels/label-create-xml.pl
serials/lateissues-export.pl