5

How can I get order Reset results with 2 colums? /_vti_bin/listdata.svc/News?$filter=Expires+ge+datetime'2012-11-23'&$orderby=Created also I want to order by the filed Topnews

1 Answer 1

11

To sort by multiple fields, specify a comma-separated list of fields.

$orderby=Created,Modified

You can also specify asc and/or desc:

$orderby=Created asc,Modified desc

http://msdn.microsoft.com/en-us/library/office/fp142385(v=office.15).aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.