Skip to content

Commit

Permalink
DataViews: Default sort order in templates by title (#58175)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras authored Jan 24, 2024
1 parent 93cc5d6 commit 61629a7
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

1 comment on commit 61629a7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 61629a7.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7640260848
📝 Reported issues:

Please sign in to comment.