[Koha-bugs] [Bug 36302] Patron search from search bar broken
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 14 15:59:15 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36302
--- Comment #25 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #24)
> I am sorry but... I am still getting the redirect to the patron detail page
> after hitting the back button.
>
> BUT I have tried v23.11.00 and it behaving like that as well.
>
> Sure I tried yesterday a pre-csrf and it works "working" (no redirect).
>
> David, what did you notice during your testing session?
I tested this a bit today, there are slightly different results when searching
from mainpage vs members-home - the former using patron-search-box the latter
member-search-box. Some of this is covered by discussion, just highlighting it
all together
>From mainpage the url is:
http://localhost:8081/cgi-bin/koha/members/member.pl?quicksearch=1&circsearch=1&searchmember=henry
>From members-home the url is:
http://localhost:8081/cgi-bin/koha/members/member.pl?quicksearch=1&searchmember=henry&searchfieldstype=standard&searchtype=starts_with&branchcode_filter=&categorycode_filter=
circsearch makes the difference in that without that, the table is blank, this
seems to be from defer_loading which prevents the form submission
Chrome and Firefox behave differently because it seems Chrome/Edge is designed
to prevent a redirect when clicking back - Firefox does not do this
When the patch changes from GET to POST this effects the defer_loading variable
so really seems to be effectively the same as the initial patch.
My only thought has been to store the initial page or pass it through as a
variable, and offer a "Back to {page}" link on the patron screen
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list