Bug 36339 - Using patron search filters may clear "search type" settings in "More options"
Summary: Using patron search filters may clear "search type" settings in "More options"
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 34106
Blocks:
  Show dependency treegraph
 
Reported: 2024-03-18 08:25 UTC by Katrin Fischer
Modified: 2024-03-20 10:10 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2024-03-18 08:25:25 UTC
This is a bit of an odd one I found while testing bug 36334:

* Search for h from the top search bar
* Open the 'more options' area the end of the input field and set it to 'contains' and leave it open
* Now repeat search from the filters on the left of the page 
* The search type in the 'more options' empties out
Comment 1 Jonathan Druart 2024-03-20 10:10:57 UTC
Coming from

  commit b9ffc47100dbb13e966af73c713a6857cb9e8ca0
  Bug 34106: Update header search box searchtype when form is submitted

It's not working. But others are not working either. Maybe it was the original intention of the code removed from
  commit 41254a1b64f134ed87c2cd52241c0f5995ef8c4d
  Bug 36334: Remove unnecessary JS code from member.tt

IMO We should not update the header if the form is submitted. And so we could simply revert commit from bug 34196.