[Koha-bugs] [Bug 36302] Patron search from search bar broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 13 22:45:36 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36302

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #163121|0                           |1
        is obsolete|                            |

--- Comment #23 from David Nind <david at davidnind.com> ---
Created attachment 163122
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163122&action=edit
Bug 36302: Revert back to POST

Pass the csrf token and 'cud-noop'

After having discussed with Joubu and multiple failed attempts at fixing the
issue AND restoring previous behavior, this is the fix we agreed on.

This will change URL but not fiddle with browser history.
Works the same (and as expected) in both Chrome and Firefox

Test plan, ktd:
1) Search henry on the top search bar, notice 1 result is auto suggested
2) Ignore the auto-complete, press 'Enter' instead
3) Notice no results are returned.
4) Apply patch. Repeat.
5) Notice you get redirected to the single result of henry
6) Press the browser 'back' button and notice it works as expected (both
Chrome+Firefox)
7) Visit patrons home directly:
http://localhost:8081/cgi-bin/koha/members/members-home.pl
8) Notice no search is performed

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list