Any way I could sort tasks by creation date?
I'm looking into the '/task/' endpoint but I cannot find a way... It seems the overdue tasks have priority. Here is how I'm doing it:
"https://api.podio.com/task/?org=941914&limit=10&sort_desc=true&sort_by=created_on"
Could you please provide an example?
Thanks
-
Hi Andreas,
Could you please take a look to these json files:
https://drive.google.com/open?id=0B_jBvlj_9Xmvb2NJeGdwUi1JajA
https://drive.google.com/open?id=0B_jBvlj_9XmvSGVKUm1yTi0xaVkIn short, the files contain the response in desc and asc order respectively.
For example, in the desc file, for the 'created_on' field, the order is:
"created_on":"2015-05-26 09:20:45"
"created_on":"2015-05-26 09:20:47"
"created_on":"2015-05-26 09:20:45"
"created_on":"2015-05-26 09:20:45"
"created_on":"2015-05-26 09:20:47"
...
"created_on":"2015-05-26 09:20:52"
"created_on":"2015-05-26 09:20:45"
...
etc.What I'm trying to do is for the response to return in desc chronological order ignoring their priority (groupings):
"created_on":"2015-05-26 09:20:45"
"created_on":"2015-05-26 09:20:45"
"created_on":"2015-05-26 09:20:45"
"created_on":"2015-05-26 09:20:47"
"created_on":"2015-05-26 09:20:47"
"created_on":"2015-05-26 09:20:52"
...
etc.By the way, that's another issue we are having, all create_on values are from the same date (2015-05-26). What could be the reason for this?
Many thanks.
Please sign in to leave a comment.
Comments
5 comments