SenseNet/sn-client-js

"Order by" type cannot be specified at field level

borsi opened this issue · 1 comments

borsi commented

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

  • Extend the query builder API
  • Test and deploy (seek and destroy)

Acceptance crit

  • I can specify the ordering by asc or desc

Usage example for extended ordering:

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