Skip to content

Commit 01ee623

Browse files
fix(core)!: Update sort capability for Entity by template page and search endpoints (#188)
* fix(api): fix and update entity page an entity search sort capability
1 parent 017c4b0 commit 01ee623

17 files changed

Lines changed: 466 additions & 165 deletions

File tree

‎docs/src/concepts/entity-filtering.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Request shape (`EntitySearchRequestDtoIn`):
174174
},
175175
"page": 0,
176176
"size": 20,
177-
"sort": "identifier:asc"
177+
"sort": "identifier,asc"
178178
}
179179
```
180180

@@ -203,7 +203,7 @@ curl -sS -X POST "http://localhost:8084/api/v1/entities/search" \
203203
- `query` (optional): free-text string (max 255 chars) searched case-insensitively in `identifier`, `name`, `templateIdentifier`, and property values.
204204
- `filter` (optional): nested `FilterNodeDtoIn` JSON structure. Use a `template` criterion to scope results to a specific template when needed.
205205
- `page` / `size`: pagination (zero-based `page`). `size` defaults to 20 and the server enforces a maximum of 500 by default (configurable with `MAX_PAGE_SIZE`).
206-
- `sort`: `field:asc|desc`. Allowed sort fields: `identifier`, `name`, `templateIdentifier`.
206+
- `sort`: `field,asc|desc`. Allowed sort fields: `identifier`, `name`, `templateIdentifier`.
207207

208208
### Operator semantics
209209

0 commit comments

Comments
 (0)