FS#12752 - {archweb_pub} Package Search sorting breaks when applying search criterias
Attached to Project:
Arch Linux
Opened by Corrado Primier (bardo) - Sunday, 11 January 2009, 18:21 GMT
Last edited by Dan McGee (toofishes) - Sunday, 31 January 2010, 23:31 GMT
Opened by Corrado Primier (bardo) - Sunday, 11 January 2009, 18:21 GMT
Last edited by Dan McGee (toofishes) - Sunday, 31 January 2010, 23:31 GMT
|
Details
The default package sorting order is Lat Update, Arch, Repo.
When customizing search criterias the order breaks, and it
becomes Repo, Arch, Last Update because the
sort=-last_update parameter isn't passed anymore. GET
parameters should probably be attached to all the
criteria-related queries.
|
This task depends upon
Can you please give some steps to reproduce the issue.
1. go to http://www.archlinux.org/packages/?sort=-last_update (this is the "More..." link on the arch homepage)
2. notice how entries are ordered by "Last update, Arch, Repo" and, if desired, further customize the order
2. type "test" in the "Keywords" field and click on "Search"
3. notice how results still show the old ordering by Repo
This happens because the GET parameter that customizes the order is not passed when clicking "Search".