[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 12:25:29 CET 2024


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

--- Comment #18 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 163109
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163109&action=edit
Bug 36302: use replace instead of href

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

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


More information about the Koha-bugs mailing list