SenseNet / sn-client-js

A JavaScript client for sensenet ECM that makes it easy to use the REST API of the Content Repository.
https://www.sensenet.com/
GNU General Public License v2.0
11 stars 2 forks source link

"Order by" type cannot be specified at field level #59

Closed borsi closed 7 years ago

borsi commented 7 years ago

As a developer, I'd like to be able to specify whether my query should return with the result set in an ascending or a descending order.

Tasks

Acceptance crit

gallayl commented 7 years ago

Usage example for extended ordering:

const params = {
   orderby: [
      ['CreationDate', 'desc'],
      'Name',
      'DisplayName'
   ]
}