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
Task Type Bug Report
Category Web Sites
Status Closed
Assigned To Paul Mattal (paul)
Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Dan McGee (toofishes)
Sunday, 31 January 2010, 23:31 GMT
Reason for closing:  Fixed
Comment by Roman Kyrylych (Romashka) - Thursday, 28 May 2009, 18:21 GMT
I always get "Repo, Arch, Last Update" order.
Can you please give some steps to reproduce the issue.
Comment by Corrado Primier (bardo) - Friday, 29 May 2009, 10:40 GMT
Here's how to reproduce, sorry for not being clear:
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".

Loading...