David
David

Reputation: 320

FogBugz API - Change OrderBy direction

I'm getting a list of cases fro the FogBugz API and the OrderBy clause is 'case'. This is getting the first X items I request, where I want to get the last X items. How can I change the direction of the order by?

I've tried:

OrderByDir:desc
OrderBy:case desc

Upvotes: 2

Views: 199

Answers (1)

Rich Armstrong
Rich Armstrong

Reputation: 1432

It's the non-obvious:

orderby:"-case"

Upvotes: 2

Related Questions