PPL

Tasks list could have a more clear order

Bug #714129 reported by Christopher Adams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PPL
Fix Released
Medium
Christopher Adams

Bug Description

The tasks list is currently ordered by the query:

SELECT *, ppl_tasks.id AS task_id FROM ppl_tasks, ppl_task_types WHERE ppl_tasks.type = ppl_task_types.id AND ppl_tasks.assigned_to = [userid] ORDER BY ppl_tasks.status DESC, creation_date DESC limit 10

This ensures that the tasks are ordered by status from top to bottom: Updated, Start, Completed

It might be more clear if the tasks are shown in this order

Tasks that are of type "update" or "new" are ordered by creation date, newest at the top.

Tasks that are of type "completed" are always at the bottom.

Revision history for this message
Christopher Adams (christopheradams) wrote :

The bug that this needs to fix is that the "Find Portraits" task is added as "new" with a "Start" button but ends up below "Update" tasks like sync photostream.

Changed in ppl:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 0.2
Changed in ppl:
assignee: nobody → Christopher Adams (christopheradams)
Revision history for this message
Christopher Adams (christopheradams) wrote :

Change the order to:

ORDER BY creation_date DESC, ppl_tasks.status DESC limit 10

Changed in ppl:
status: Confirmed → 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.