Search code examples
phpapiattask

AtTask Ordering the Results in a Report Query in the API


I am doing a "report" query through the AtTask API. Using the guidance from here. However, I'm grouping by a date field in the custom data. ('DE:project:Actual Completion Month_1_GroupBy'). However the results come back unordered. As I'm going to iterate through the results now to make a chart. I'd like to order the list. Is there a parameter that you submit in the query to specify the sorting order of the grouping?


Solution

  • "DE:project:Actual Completion Month_1_Sort" => "asc"