Rename top-level contentOrder to defaultContentOrder in entity page config

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-02-28 14:44:33 +01:00
parent fbcfb392a2
commit 233c33f2de
6 changed files with 13 additions and 13 deletions
@@ -730,12 +730,12 @@ Notes:
### Content ordering within groups
By default, content items within each group are sorted alphabetically by title. You can change this with the `contentOrder` option, which supports two modes:
By default, content items within each group are sorted alphabetically by title. You can change this with the `defaultContentOrder` option, which supports two modes:
- **`title`** (default) — sort alphabetically by the content extension's title (case-insensitive).
- **`natural`** — preserve the natural extension discovery/registration order.
A page-level `contentOrder` sets the default for all groups, and individual groups can override it:
A page-level `defaultContentOrder` sets the default for all groups, and individual groups can override it with a per-group `contentOrder`:
```yaml
app:
@@ -743,7 +743,7 @@ app:
- page:catalog/entity:
config:
# Default content order for all groups
contentOrder: title
defaultContentOrder: title
groups:
- documentation: