default sorting on schemas

This commit is contained in:
2023-10-23 19:43:59 +03:00
parent 868a97f68b
commit cd1d380483
11 changed files with 90 additions and 44 deletions
+1
View File
@@ -20,6 +20,7 @@ class CollectionSchema implements Schema
public Collection $fields,
public bool $isEntry = false,
public string $color = "",
public string $sortBy = "-_sys.updatedAt",
public string $titleTemplate = "",
public int $revisions = 0,
public array $read = [],