]> git.koha-community.org Git - koha.git/commit
Bug 36931: Fix label-item-search.pl by removing CSRF requirement
authorDavid Cook <dcook@prosentient.com.au>
Thu, 23 May 2024 06:43:40 +0000 (06:43 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 24 May 2024 13:36:46 +0000 (15:36 +0200)
commit9aef4be8ca8be18de115e686942db0b6b1b6b089
tree3a7d3b0347e5699c377fb692af6e0f80df0735a5
parent98637f17a7e59b2fbf0d8d9331b2508065211913
Bug 36931: Fix label-item-search.pl by removing CSRF requirement

This change converts a stateless POST into a GET, so that the paging
of the label-item-search.pl results works again.

Test plan:
0. Apply the patch and restart Koha
1. Go to http://localhost:8081/cgi-bin/koha/labels/label-edit-batch.pl?op=new
2. Click "Add item(s)"
3. Add '05/01/2000' in "Added on or after date:" and click "Search"
4. Page through the results
5. Rejoice

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt
labels/label-item-search.pl