Bug 35690 - Searching patrons with contains does not provide relevant results
Summary: Searching patrons with contains does not provide relevant results
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-03 17:56 UTC by Laura Escamilla
Modified: 2024-01-11 08:18 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laura Escamilla 2024-01-03 17:56:36 UTC
Example:

In this example the library has the PatronSearchMethod system preference set to 'contains'.

They attempted to search for a patron named 'Don Smith' but the primary search results are showing names such as 'Brandon Smith' and patrons who are located at their 'Smith Public Library' such as 'Madonna Jones - Smith Public Library'. 

It would be ideal if the search results showed relevant patrons first before suggesting patrons located at their 'Smith Public Library'.
Comment 1 Jonathan Druart 2024-01-11 08:18:53 UTC
I do not recreate the problem with the default data. If you do on a sandbox, please provide the different steps.

https://snipboard.io/Y3X4ub.jpg

https://snipboard.io/w2Tr94.jpg