cens/ohmageServer — Issue #193: Allow paged results from survey response read to be sortable
Author: ewang9
Created: 2012-02-08 02:01:37+00:00
State: open
Labels: Enhancement

Currently survey response read's paged results ignores the "sort_order" parameter and instead returns responses in chronological order.

@jojenki describes the issue in detail:
"sort_order" is sort of broken right now. It is only applied to the current page of results. Another problem is that the way it treats the "date" is based on the epoch milliseconds instead of the courser granularity of day, which is highly unlikely that multiple survey responses were made at the exact same time. Therefore, the only effect that it will have is that it will transpose the list, but again that's the paged list not the entire list.