Skip to content

Commit

Permalink
DataViews: Default sort order in templates by title
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Jan 24, 2024
1 parent ed46eac commit d74f033
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ const DEFAULT_VIEW = {
search: '',
page: 1,
perPage: 20,
sort: {
field: 'title',
direction: 'asc',
},
// All fields are visible by default, so it's
// better to keep track of the hidden ones.
hiddenFields: [ 'preview' ],
Expand Down

0 comments on commit d74f033

Please sign in to comment.