feat: content tab QA fixes for panel pre-release (#5588)
* feat: use new_filters + other qa fixes * fix: double admons + lint
This commit is contained in:
@@ -71,6 +71,7 @@ export class LabrinthProjectsV2Module extends AbstractModule {
|
||||
params: {
|
||||
...params,
|
||||
facets: params.facets ? JSON.stringify(params.facets) : undefined,
|
||||
new_filters: params.new_filters ?? undefined,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
@@ -307,6 +307,7 @@ export namespace Labrinth {
|
||||
export type ProjectSearchParams = {
|
||||
query?: string
|
||||
facets?: string[][] // in the format of [["categories:forge"],["versions:1.17.1"]]
|
||||
new_filters?: string
|
||||
filters?: string
|
||||
index?: 'relevance' | 'downloads' | 'follows' | 'newest' | 'updated'
|
||||
offset?: number
|
||||
|
||||
Reference in New Issue
Block a user