fix: sort by not using relevance as default type (#5872)

This commit is contained in:
Truman Gao
2026-04-20 14:34:40 -06:00
committed by GitHub
parent da47c50320
commit 694ab09a01
3 changed files with 4 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ export function useSearch(
{ display: 'Date updated', name: 'updated' },
])
const currentSortType: Ref<SortType> = ref({ name: 'relevance', display: 'Relevance' })
const currentSortType: Ref<SortType> = ref(sortTypes[0])
const route = useRoute()
const currentPage = ref(1)