Commit 1082f99e by Thibault Grandjean

sort on date_begin instead of create_date

parent 28d949d7
Pipeline #1507 passed with stage
in 1 minute 33 seconds
......@@ -32,7 +32,7 @@ class CagetteMembersSpace(models.Model):
marshal_none_error = 'cannot marshal None unless allow_none is enabled'
try:
res = self.o_api.search_read('shift.registration', cond, f, limit=limit, offset=offset,
order='create_date DESC')
order='date_begin DESC')
except Exception as e:
if not (marshal_none_error in str(e)):
res['error'] = repr(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment