Skip to content

Commit cdee168

Browse files
authored
docs: entry for global order_nulls_comparison configuration (#1319)
1 parent 9cabb12 commit cdee168

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

core/filters.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,15 @@ class Offer
481481
}
482482
```
483483

484+
The strategy to use by default can be configured globally:
485+
486+
```yaml
487+
# api/config/packages/api_platform.yaml
488+
api_platform:
489+
collection:
490+
order_nulls_comparison: 'nulls_smallest'
491+
```
492+
484493
#### Using a Custom Order Query Parameter Name
485494

486495
A conflict will occur if `order` is also the name of a property with the search filter enabled.

0 commit comments

Comments
 (0)