SData 2.0 web services endpoints order the returned data correctly but change the order by direction in the returned URLs.
For example, making a request to the following:
`vPeople?where=Pers_CompanyId eq 'companyID'&startindex=1&count=10&orderby=Pers_PersonId desc"`
will return the following URLs
$url | "vPeople?where=Pers_CompanyId eq 'companyID'&startindex=1&count=10&orderby=Pers_PersonId ASC" |
$first | "vPeople?where=Pers_CompanyId eq 'companyID'&startindex=1&count=10&orderby=Pers_PersonId ASC" |
$next | "vPeople?where=Pers_CompanyId eq 'companyID'&startindex=11&count=10&orderby=Pers_PersonId ASC" |
$last |
"vPeople?where=Pers_CompanyId eq 'companyID'&startindex=30&count=10&orderby=Pers_PersonId ASC" |
Since the returned data is sorted as expected I'll probably just ignore the URLs and navigate through the data without them but could this be hiding a deeper issue?