We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0164064 commit 943660bCopy full SHA for 943660b
app/pages/org/[org].vue
@@ -57,7 +57,7 @@ const {
57
setSort,
58
} = useStructuredFilters({
59
packages,
60
- initialSort: (normalizeSearchParam(route.query.sort) as SortOption) ?? 'updated-desc',
+ initialSort: (normalizeSearchParam(route.query.sort) as SortOption) ?? 'downloads-week-desc',
61
})
62
63
// Pagination state
@@ -86,7 +86,7 @@ const updateUrl = debounce((updates: { filter?: string; sort?: string }) => {
86
query: {
87
...route.query,
88
q: updates.filter || undefined,
89
- sort: updates.sort && updates.sort !== 'updated-desc' ? updates.sort : undefined,
+ sort: updates.sort && updates.sort !== 'downloads-week-desc' ? updates.sort : undefined,
90
},
91
92
}, 300)
0 commit comments