Skip to content

Commit

Permalink
wip(back): require hero on posts and sort by created date in CMS list…
Browse files Browse the repository at this point in the history
… view
  • Loading branch information
dgrebb committed Feb 11, 2024
1 parent efbbd5e commit 913a6a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"searchable": true,
"pageSize": 100,
"mainField": "title",
"defaultSortBy": "updatedAt",
"defaultSortBy": "createdAt",
"defaultSortOrder": "DESC"
},
"metadatas": {
Expand Down
2 changes: 1 addition & 1 deletion back/src/api/post/content-types/post/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"hero": {
"type": "media",
"multiple": false,
"required": false,
"required": true,
"allowedTypes": [
"images"
]
Expand Down

0 comments on commit 913a6a2

Please sign in to comment.