Summary: | Search filters can't parse query in some instances | ||
---|---|---|---|
Product: | Koha | Reporter: | Lisette Scheer <lisette> |
Component: | Searching | Assignee: | Lisette Scheer <lisette> |
Status: | Pushed to main --- | QA Contact: | Jonathan Druart <jonathan.druart> |
Severity: | trivial | ||
Priority: | P5 - low | CC: | chris.rowlands6, eric |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: |
25.05.00
|
Circulation function: | |
Attachments: |
Bug 39020: Search filters can't parse query
Bug 39020: Search filters can't parse query Bug 39020: Search filters can't parse query Bug 39020: Add tests Bug 39020: Search filters can't parse query Bug 39020: Add tests |
Description
Lisette Scheer
2025-02-03 16:45:43 UTC
Created attachment 177471 [details] [review] Bug 39020: Search filters can't parse query 1. Turn on the SavedSearchFilters system preference 2. Go to advanced search, select a number of item types and search 3. Save the search 4. Enter a search term (such as power) 5. select the filter. Observe the following message: Error: Unable to understand your search query, please rephrase and try again. 6. Apply patch 7. Repeat steps 4 & 5, search should work as expected. 8. Sign off! Created attachment 177490 [details] [review] Bug 39020: Search filters can't parse query 1. Turn on the SavedSearchFilters system preference 2. Go to advanced search, select a number of item types and search 3. Save the search 4. Enter a search term (such as power) 5. select the filter. Observe the following message: Error: Unable to understand your search query, please rephrase and try again. 6. Apply patch 7. Repeat steps 4 & 5, search should work as expected. 8. Sign off! Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> Created attachment 177689 [details] [review] Bug 39020: Search filters can't parse query 1. Turn on the SavedSearchFilters system preference 2. Go to advanced search, select a number of item types and search 3. Save the search 4. Enter a search term (such as power) 5. select the filter. Observe the following message: Error: Unable to understand your search query, please rephrase and try again. 6. Apply patch 7. Repeat steps 4 & 5, search should work as expected. 8. Sign off! Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Created attachment 177690 [details] [review] Bug 39020: Add tests Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Created attachment 177956 [details] [review] Bug 39020: Search filters can't parse query Rebased after 38664 1. Turn on the SavedSearchFilters system preference 2. Go to advanced search, select a number of item types and search 3. Save the search 4. Enter a search term (such as power) 5. select the filter. Observe the following message: Error: Unable to understand your search query, please rephrase and try again. 6. Apply patch 7. Repeat steps 4 & 5, search should work as expected. 8. Sign off! Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Lisette, can you please have another look here? I think you missed the second patch in your rebase! Thanks! (Doesn't apply cleanly for me on a branch pre-tidy) Created attachment 178042 [details] [review] Bug 39020: Add tests Rebased Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Had to tidy the file as QA script was failing? Pushed for 25.05! Well done everyone, thank you! Would it be possible to have this backported to 24.11? |