summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-10-18 18:28:26 -0500
committerDan McGee <dan@archlinux.org>2014-10-18 18:28:26 -0500
commit061805aa73d3d5b418a61fa6d6591d1a7d03d9ed (patch)
treeb7cd8cca5eba3c358a000b399cc2cd756b88b6a1 /settings.py
parent4def86ec76d9975be8a357b6fc06104cc2b31fed (diff)
FS#30773: put exact matches at top
There have been a few proposed solutions to this, but there really isn't anything without a drawback. Things break pagination, require loading the entire result set from the database, etc. Just plop a new table on the page if someone did a so-called "simple" search and we have a match. Only show on the first page of the search results. This results in a relatively fast experience for someone doing something like searching for the "perl" package. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'settings.py')
0 files changed, 0 insertions, 0 deletions