Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730618 - Sorting results from package searches/queries
Summary: Sorting results from package searches/queries
Status: CONFIRMED
Alias: None
Product: Websites
Classification: Unclassified
Component: Packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Packages Website
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-03 17:42 UTC by Michael 'veremitz' Everitt
Modified: 2020-07-03 17:42 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 Michael 'veremitz' Everitt 2020-07-03 17:42:00 UTC
Currently, as discussed on IRC in #gentoo-www, the search results from queries is displayed in order of 'Relevance' according to https://www.postgresql.org/docs/12/pgtrgm.html function within PostGresql.

Some searches eg. https://packages.gentoo.org/packages/search?q=dev-python%2Foslo-* would be better suited to an alphanumeric search, however.

Proposal is to add a drop-down box on the Search page, and/or on results pages to alter the search order between 'Relevance', 'A-Z' possibly 'Z-A' and any other option found to be helpful in the future.