Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903305 - Search on packages.gentoo.org is now case-sensitive (e.g. 'Geany' returns no matches vs 'geany')
Summary: Search on packages.gentoo.org is now case-sensitive (e.g. 'Geany' returns no ...
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Packages Website
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-28 15:17 UTC by Sam James
Modified: 2023-03-28 19:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-28 15:17:05 UTC
Searching for 'geany' on packages.gentoo.org gives results: https://packages.gentoo.org/packages/search?q=geany

But searching for 'Geany' gives none: https://packages.gentoo.org/packages/search?q=Geany.

This issue is a particular pain when searching on mobile which often auto-capitalises. FWIW, I think this worked before.
Comment 1 Larry the Git Cow gentoo-dev 2023-03-28 19:40:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/sites/soko.git/commit/?id=ea3c46cde901c392b9c8170ce85c109af70da7ee

commit ea3c46cde901c392b9c8170ce85c109af70da7ee
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2023-03-28 19:35:01 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-03-28 19:35:01 +0000

    app/search: fix case insensitive and full text search
    
    A collection of stupid mistakes I've done. At least if works now :)
    
    Fixes: 4fa6e4b619c0362728955b6ec56eab0e0cbf1e23
    Closes: https://bugs.gentoo.org/903305
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 pkg/app/handler/packages/search.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)