Skip to content

Commit

Permalink
fix: change default sort order to oldest first (refs #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinstadler committed Oct 28, 2024
1 parent 34e95aa commit 3d77707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/instantsearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export function InstantSearch(props: InstantSearchProps): ReactNode {
);
})
: null}
<InstantSearchSortBy sortOptions={["year:desc", "year:asc", "title:asc"]} />
<InstantSearchSortBy sortOptions={["year:asc", "year:desc", "title:asc"]} />
<label>
<input
checked={view === "table"}
Expand Down

0 comments on commit 3d77707

Please sign in to comment.