The search box above the table in Acquisitions > Suggestions seems to be broken in 24.11.06. I was able to test in 24.11.03 and it is working correctly in that version. To replicate: - Make sure you have suggestions. - In any of the tabs with suggestions listed, use the Search box above the table. - Search for words that you see in either the Suggestion or Suggested by column: the list is correctly filtered to those lines. - Search for words contained in any other column, e.g. Library. No results are shown, even though there should be. Note: Library is not one of the parameters available in the left-hand Filters menu, so there is no workaround to this issue when you need to check suggestions within a status tab then filter down by library.
Looks like the table has been configured to allow searching only on title, suggester, manager, or last modifier. I'm not sure why those limitations were chosen.
Created attachment 185536 [details] [review] Bug 40593: Restore searchable columns to the suggestions table This patch adds search functionality to the following columns: Suggester category, Patron reason, Library, Fund, Status. Test plan: 1) Add some suggestions and navigate to the suggestions page 2) Use the search bar to search for data in any of the columns mentioned above. 3) It will not filter the results based on those columns 4) Apply patch and hard refresh 5) Use the search bar again, this time it should return results
Could the patch be altered to also restore the search filter on author, ISBN, publisher, copyright date, collection title, and notes (basically everything that comes after the 'title' in the 'Suggestion' column)? It used to be searchable in previous versions and is also important. Except for the notes, there are all parameters in the left-hand Filter menu, but it is much faster and more convenient to use the search filter on top, like before.
Created attachment 186249 [details] [review] Bug 40593: Restore searchable columns to the suggestions table This patch adds search functionality to the following columns: Suggester category, Patron reason, Library, Fund, Status. Test plan: 1) Add some suggestions and navigate to the suggestions page 2) Use the search bar to search for data in any of the columns mentioned above. 3) It will not filter the results based on those columns 4) Apply patch and hard refresh 5) Use the search bar again, this time it should return results Signed-off-by: Ludovic <ludovic.julien@inlibro.com>
Great work on this patch! I tested it and everything works perfectly. Being able to search all relevant columns in the suggestions table is a major usability improvement — especially for libraries managing large volumes of suggestions. Thank you for restoring this functionality! It really helps staff work more efficiently. Signed off! :)
(In reply to Mirjam Vantieghem from comment #3) I recommend opening a new bug for these search filters.
Created attachment 186896 [details] [review] Works great! QA tool is also happy. Thanks! Bug 40593: Restore searchable columns to the suggestions table This patch adds search functionality to the following columns: Suggester category, Patron reason, Library, Fund, Status. Test plan: 1) Add some suggestions and navigate to the suggestions page 2) Use the search bar to search for data in any of the columns mentioned above. 3) It will not filter the results based on those columns 4) Apply patch and hard refresh 5) Use the search bar again, this time it should return results Signed-off-by: Ludovic <ludovic.julien@inlibro.com> Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Created attachment 186987 [details] [review] Bug 40593: Restore searchable columns to the suggestions table This patch adds search functionality to the following columns: Suggester category, Patron reason, Library, Fund, Status. Test plan: 1) Add some suggestions and navigate to the suggestions page 2) Use the search bar to search for data in any of the columns mentioned above. 3) It will not filter the results based on those columns 4) Apply patch and hard refresh 5) Use the search bar again, this time it should return results Signed-off-by: Ludovic <ludovic.julien@inlibro.com> Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Nice work everyone! Pushed to main for 25.11