Summary: | Purchase suggestions search filter is broken | ||
---|---|---|---|
Product: | Koha | Reporter: | apirak <apirak> |
Component: | OPAC | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | andrew, caroline.cyr-la-rose, fridolin.somers, jonathan.druart, martin.renvoize |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.05.00,20.11.02
|
|
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 26406 | ||
Attachments: |
Bug 27047: Fix suggestions filtering at the OPAC
Bug 27047: Fix suggestions filtering at the OPAC Bug 27047: Fix suggestions filtering at the OPAC |
Description
apirak
2020-11-18 03:52:09 UTC
This works for me in master, 20.11 and 20.05.. Can you clarify by stating your version and exact steps to replicate. I can reproduce this in master... Submitting a search doesn't change the list of suggestions at all. I think it may have been broken since 19.11.x. (In reply to Owen Leonard from comment #2) > I can reproduce this in master... Submitting a search doesn't change the > list of suggestions at all. I think it may have been broken since 19.11.x. Hum.. I must be looking in entirely the wrong place then.. Doh!.. OPAC Tracing back, I can't see when this was broken.. but also can't see how it worked in the past.. it looks like it submits a form back and expects a full page reload.. except there's nothing in the controller to action that form submission. I'd propose just switching to DataTables filtering.. Created attachment 115189 [details] [review] Bug 27047: Fix suggestions filtering at the OPAC There is a "Search" input box that appears to be broken for... ever? This patch replaces it with the DataTables filtering. Test plan: Create some suggestions, go to your suggestion list at the OPAC Confirm that the filtering now works correctly Created attachment 115211 [details] [review] Bug 27047: Fix suggestions filtering at the OPAC There is a "Search" input box that appears to be broken for... ever? This patch replaces it with the DataTables filtering. Test plan: Create some suggestions, go to your suggestion list at the OPAC Confirm that the filtering now works correctly Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 115222 [details] [review] Bug 27047: Fix suggestions filtering at the OPAC There is a "Search" input box that appears to be broken for... ever? This patch replaces it with the DataTables filtering. Test plan: Create some suggestions, go to your suggestion list at the OPAC Confirm that the filtering now works correctly Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Pushed to master for 21.05, thanks to everybody involved! Pushed to 20.11.x for 20.11.02 Doesn't apply cleanly to 20.05.x, please rebase if needed. I reintroduced this filter on bug 26406. |