Skip to content

Commit

Permalink
fix: change default sort to createdOn_DESC
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Nov 22, 2023
1 parent 851b838 commit 0034730
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const createPageTemplatesCrud = (
tenant: getTenantId(),
locale: getLocaleCode()
},
sort: Array.isArray(sort) && sort.length > 0 ? sort : ["createdOn_ASC"]
sort: Array.isArray(sort) && sort.length > 0 ? sort : ["createdOn_DESC"]
};

// If user can only manage own records, let's add that to the listing.
Expand Down

0 comments on commit 0034730

Please sign in to comment.