"People and teams" list uses columns but isn't sortable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Unassigned |
Bug Description
Search results for people and teams, such as <https:/
For instance clicking on the 'Karma' column heading would hopefully sort the table by Karma with the highest rating Karma at the top; clicking again would move the lowest-rated Karmas to the start of the table.
When clicked, a column could display a little 'v' or '^' icon next to the column to show the current sort order. See Ebay and similar for common examples.
One way to fix this would be to make each column header a link, that reloads the page sorted by the column that was clicked on. The URL schema could be extended to include a 'sortby=karma' and 'sortdirection=up' parameters. This should not be include in the URL if they are the defaults ('by=name' and 'direction=down').
Another way to fix it would be to not use columns for the people/teams search results at all.
Related branches
- Michael Nelson (community): Approve (code ui)
-
Diff: 280 lines (+93/-40)9 files modifiedlib/canonical/launchpad/pagetests/basics/demo-and-lpnet.txt (+2/-9)
lib/canonical/launchpad/pagetests/basics/user-requested-oops.txt (+2/-2)
lib/lp/app/browser/tests/base-layout.txt (+1/-1)
lib/lp/app/templates/base-layout-macros.pt (+1/-0)
lib/lp/app/templates/base-layout.pt (+1/-1)
lib/lp/registry/browser/person.py (+14/-3)
lib/lp/registry/browser/tests/people-views.txt (+32/-0)
lib/lp/registry/stories/person/xx-people-search.txt (+30/-21)
lib/lp/registry/templates/people-index.pt (+10/-3)
Changed in launchpad: | |
status: | Unconfirmed → Confirmed |
affects: | launchpad-foundations → launchpad-registry |
Changed in launchpad-registry: | |
importance: | Medium → Low |
Changed in launchpad-registry: | |
milestone: | 2.2.8 → none |
Changed in launchpad-registry: | |
assignee: | Barry Warsaw (barry) → nobody |
tags: | added: trivial |
Changed in launchpad-registry: | |
milestone: | none → 10.06 |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
tags: | added: qa-ok |
Changed in launchpad-registry: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
assignee: | Curtis Hovey (sinzui) → nobody |
FWIW, I brought back column-clicking sorting on the bug listings a couple days ago. Should hit the streets on Tuesday.