Page MenuHomePhabricator

Sorting API categorymembers results by timestamp, newest first
Closed, ResolvedPublic


Author: ais523

Further to bug 10890, is it possible to efficiently return category members sorted by timestamp in descending order? Scripts and bots would find it more useful to be able to check the most recent addition/recategorisation to/in a category, rather than the least recent.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:55 PM
bzimport set Reference to bz11275.

Re-assigning to self as a reminder. I'll implement this later today.

Fixed in r25726. I added a cmdir parameter that can be set to asc (ascending) and desc (descending), for both timestamp and sortkey sorting.