Sorting branch listing by "most recently changed first" puts unscanned branches first

Bug #213742 reported by James Henstridge
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Tim Penhey

Bug Description

The following branch listing uses the "most recently changed first" order:

https://code.edge.launchpad.net/storm/+branches?field.lifecycle=CURRENT&field.sort_by=most+recently+changed+first

However, the first entry in the listing (~sidnei/storm/mssql-support) says it was last modified 28 weeks ago, which is a lot older than the second entry.

The difference is that the first item has not been scanned: it appears to be a branch hosted branch that hasn't been pushed to yet. The NULL in its last_scanned field is probably sorting less than the non-NULL values for all the other branches.

It would be less confusing if the sorting was done by the same value as used in the "last modified" column (i.e. date_last_modified).

Tags: lp-code
Tim Penhey (thumper)
Changed in launchpad-bazaar:
assignee: nobody → thumper
importance: Undecided → Medium
milestone: none → 1.2.4
status: New → In Progress
Tim Penhey (thumper)
Changed in launchpad-bazaar:
status: In Progress → Fix Committed
Tim Penhey (thumper)
Changed in launchpad-bazaar:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.