Page MenuHomePhabricator

Maniphest query, order by "Date Updated", inverse ordering
Closed, ResolvedPublic

Description

I want to make a panel which only contains tasks that are older than a certain limit. I want to order the tasks by inverse "last update" order. Is that possible?

Event Timeline

timor raised the priority of this task from to Needs Triage.
timor updated the task description. (Show Details)
timor added a project: Maniphest.
timor added a subscriber: timor.
epriestley added a subscriber: epriestley.

In ManiphestTaskQuery->getBuiltinOrders():

  • Add an 'outdated' (or similar) key after 'updated'.
  • It should map to the vector array('-updated', '-id').
  • Give 'updated' and 'outdated' human-readable names which better reflect their meanings.
  • It should appear after 'updated' in the order list.

To test:

  • In Maniphest, issue queries by both orders.