Comment 0 for bug 98950

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote : Batched result pages break "click-sortable" columns

Some pages with search results and such are batched, breaking long result sets into smaller pages. Some pages have clickable column headers to influence client-side sorting of results.

The two features don't play well together: click-sorting of columns only works on entries within a batch. It does not affect what entries are in which batch. Example:

https://translations.beta.launchpad.net/ubuntu/feisty/+lang/nl

This returns over a thousand entries, neatly batched in pages of 50 each. Now click on the header of the leftmost column (template name). The template names on the first page span the alphabet, now neatly sorted from "a..." to "y..." Now go to the second page and do the same: here, too, the template names span the alphabet. Even the very last page of results has entries from "b..." to "z..."

A user who sorts results by clicking on a column header probably expects the entire result set to be re-sorted, not just the data that happens to be visible on the current page. The first page would show only templates whose names start with "a," and the last would only show the ones at the very end of the alphabet.