Support descending ordering in generic API filter (closes #1167)

This commit is contained in:
Bernd Bestel
2020-12-09 21:04:04 +01:00
parent 19802bc122
commit fda8411ab3
3 changed files with 20 additions and 3 deletions

View File

@@ -188,7 +188,7 @@
- `/chores`
- `/batteries`
- There are 4 new (optional) query parameters to utilize that
- `order` The field to order by
- `order` The field to order by (use the separator `:` to specify the sort order - `asc` or `desc`, defaults to `asc` when omitted)
- `limit` The maximum number of objects to return
- `offset` The number of objects to skip
- `query[]` An array of conditions, each of them is a string in the form of `<field><condition><value>`, where