Skip to content

Commit

Permalink
[B] Ensure resource order params match descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
1aurend authored and zdavis committed Sep 4, 2024
1 parent de1ce38 commit 5d0a085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/hoc/withFilteredLists/resourceFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ function defaultParams({ snapshotState = false } = {}) {
name: "order",
value: "title",
options: [
{ label: "Alphabetical by title", value: "title" },
{ label: "Newest resources first", value: "created_at" }
{ label: "Alphabetical by title", value: "sort_title ASC" },
{ label: "Newest resources first", value: "created_at DESC" }
]
}
]
Expand Down

0 comments on commit 5d0a085

Please sign in to comment.