mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Support descending ordering in generic API filter (closes #1167)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user