× Requests and support related to jBackend.

Order by ID and DESC seems not working!

  • mehrana
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #5140 by mehrana
Dear Support,

Here is my URL sample: /api/get/content/articles?catid=20&orderby=id&orderdir=desc&limit=2

It seems using "orderdir=desc" does not effect to result, always result sorted by ASC.

Cloud you please kindly take look at?
Thank you in advanced

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #5144 by admin
Replied by admin on topic Order by ID and DESC seems not working!
Hi,
just checked on the public sandbox site and it seems to work. Try yourself:

www.support4joomla.com/jbackend/rest/get/content/articles?orderby=id&orderdir=asc&limit=2

www.support4joomla.com/jbackend/rest/get/content/articles?orderby=id&orderdir=desc&limit=2

If you still get troubles, send me a PM at info(at)selfget.com with your endpoint information.

Kind regards
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.126 seconds