Skip to content

Commit

Permalink
fix(desk): use last updated at as default sort order
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Dec 19, 2022
1 parent 4f9a353 commit d5166e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sanity/src/desk/panes/documentList/constants.ts
Expand Up @@ -2,5 +2,5 @@ import {SortOrder} from './types'

export const PARTIAL_PAGE_LIMIT = 100
export const FULL_LIST_LIMIT = 2000
export const DEFAULT_ORDERING: SortOrder = {by: [{field: '_createdAt', direction: 'desc'}]}
export const DEFAULT_ORDERING: SortOrder = {by: [{field: '_updatedAt', direction: 'desc'}]}
export const EMPTY_RECORD: Record<string, unknown> = {}

1 comment on commit d5166e5

@vercel
Copy link

@vercel vercel bot commented on d5166e5 Dec 19, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

test-studio – ./

test-studio.sanity.build
test-studio-git-next.sanity.build

Please sign in to comment.