Bug 37069 - Authorities pagination on OPAC broken by CSRF
Summary: Authorities pagination on OPAC broken by CSRF
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Nick Clemens (kidclamp)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 12:36 UTC by Nick Clemens (kidclamp)
Modified: 2024-06-11 13:57 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 37069: OPAC authorities search is stateless (2.38 KB, patch)
2024-06-11 12:39 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review
Bug 37069: OPAC authorities search is stateless (2.43 KB, patch)
2024-06-11 13:57 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2024-06-11 12:36:51 UTC

    
Comment 1 Nick Clemens (kidclamp) 2024-06-11 12:39:27 UTC
Created attachment 167630 [details] [review]
Bug 37069: OPAC authorities search is stateless

This patch removes cud- from the search op and chanegs the form submission to GET

To test:
1 - Search authorities on OPAC for 'a'
2 - Click page 2
3 - You get the search form
4 - Apply patch, restart all
5 - Repeat search, confirm it works
6 - Click page 2
7 - Confirm you get next results
Comment 2 Owen Leonard 2024-06-11 13:57:13 UTC
Created attachment 167632 [details] [review]
Bug 37069: OPAC authorities search is stateless

This patch removes cud- from the search op and chanegs the form
submission to GET

To test:
1 - Search authorities on OPAC for 'a'
2 - Click page 2
3 - You get the search form
4 - Apply patch, restart all
5 - Repeat search, confirm it works
6 - Click page 2
7 - Confirm you get next results

Signed-off-by: Owen Leonard <oleonard@myacpl.org>