Bug 24728 - Short Last Name Search Issue
Summary: Short Last Name Search Issue
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: 19.05
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-25 14:30 UTC by Christofer Zorn
Modified: 2020-11-30 21:45 UTC (History)
3 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 Christofer Zorn 2020-02-25 14:30:32 UTC
Hello!

It was brought to my attention that if a patron has a last name that is two characters long (for example "Lo"), that when you perform a patron search using the top bar, the patron is not found.

If you perform the same "filtered" search using "Lo" and "Starts with", results are returned as expected. In our instance, we have between 8 and 10 patrons with the last name "Lo" that do not appear.

While I understand that altering the SQL to become shorter will impact what the search results show, there should be away for staff to locate patrons with short names the same way they do for longer names.

I'm not sure if this is a legitimate bug or just a limitation, but I wanted to throw this out there and see what comes of it.

Thank you!

Christofer
Comment 1 Katrin Fischer 2020-03-15 22:06:25 UTC
Hi Christopher,
I just tested this on master with a user 'lo' and it worked on the patron and circulation searches for me.

Maybe the behaviour seen is that the auto-suggest feature requires more characters? If you 'enter' the search lo, the search works as expected for me.
Comment 2 Christofer Zorn 2020-03-16 15:32:17 UTC
I just ran it again and found the "Lo" last name on page 86 of our search results. I've given our staff a work around, so let's leave it at that then and close this off.

Thanks Katrin!

Christofer