Skip to content

Commit

Permalink
set initial ordering to relevance in the frontend component
Browse files Browse the repository at this point in the history
  • Loading branch information
asuworks committed Sep 26, 2024
1 parent eeeb7a6 commit 901d920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/CodebaseListSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const initializeFilterValues = () => {
values.endDate = urlParams.get("publishedBefore")
? new Date(urlParams.get("publishedBefore")!)
: null;
values.ordering = urlParams.get("ordering") || "-first_published_at";
values.ordering = urlParams.get("ordering") || "relevance";
initialFilterValues.value = { ...values };
};
Expand Down

0 comments on commit 901d920

Please sign in to comment.