]> git.koha-community.org Git - koha.git/commit
Bug 37827: Switch OPAC download list form from POST to GET
authorPhil Ringnalda <phil@chetcolibrary.org>
Wed, 4 Sep 2024 04:46:11 +0000 (21:46 -0700)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 13 Sep 2024 10:02:50 +0000 (12:02 +0200)
commit663dd897d5139c33615fca5929742ffbd304cb1b
treeeb6e10073335cb1ac46f315747b0987deef12466
parentc866cb1111e775b707d37aa09d0ed8b282889b4a
Bug 37827: Switch OPAC download list form from POST to GET

The hidden form that the OPAC uses for downloading a list has no need to be
a POST, which is good because it can't be one without having an op param
that starts with "cud-" which it doesn't have.

Test plan:
1. Nothing visible will change, so start with the patch applied
2. Log in to the OPAC, then do a search for something like Perl which will
   return a couple of results. Select two, With selected titles: Add to
   list - New list - give it a name and Save
3. Lists - choose the one you just created
4. Download - ISBD
5. Verify that the page you were on didn't change, that a file was downloaded,
   and that the file contains the two titles in your list

Sponsored-by: Chetco Community Public Library
Signed-off-by: Chloe Zermatten <chloe.zermatten@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt