default sorting on schemas

This commit is contained in:
lexx committed 2023-10-23 19:43:59 +03:00
1 parent 868a97f68b
commit cd1d380483
11 files changed
+90 -44

No files matched your search

+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 = [],