VadimDez / ngx-order-pipe

▼ Angular 5+ orderBy pipe
https://vadimdez.github.io/ngx-order-pipe/
MIT License
243 stars 57 forks source link

Expression not fetching the value #8

Closed jestintab closed 7 years ago

jestintab commented 7 years ago

hi, my expression is key:value pair. its not sorting or fetching the desire value. json link:http://aljedad.com/api/sforder/9i3njlbu8_categories/?_view=json I need to get the value values.priority.value for sorting. Please help how it can be done?

VadimDez commented 7 years ago

Probably your filter should look like this:

let filter = {
  values: {
    priority: {
      value: 'value'
    }
  }
}