#1573 NORM Trial-2: specify sorting order in the datastore

Zarro Boogs per Child bugtracker at laptop.org
Sun Jun 3 17:39:27 EDT 2007


#1573: specify sorting order in the datastore
--------------------------+-------------------------------------------------
  Reporter:  tomeu        |       Owner:  bcsaller
      Type:  enhancement  |      Status:  new     
  Priority:  normal       |   Milestone:  Trial-2 
 Component:  datastore    |     Version:          
Resolution:               |    Keywords:          
  Verified:  0            |  
--------------------------+-------------------------------------------------
Comment (by lferre):

 Replying to [ticket:1573 tomeu]:
 > We need to extend the 'order-by' query parameter with the possibility of
 specifying the order (ascending/descending). Perhaps something like
 {'order-by': [['mtime', True], ['activity', False]]} ?

 I suspect you would be better off keeping SQL like formating, with the
 query looking like:
      {'order-by': [['mtime', 'descending'], ['activity', 'ascending']]}

-- 
Ticket URL: <http://dev.laptop.org/ticket/1573#comment:2>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list