Fix sorting

This commit is contained in:
Jai A 2020-12-02 10:56:50 -07:00
parent 29d2b942e8
commit 8df8bf33a4
No known key found for this signature in database
GPG Key ID: E8B7DFB8C62797AC

View File

@ -335,7 +335,6 @@ export default {
if (this.$route.query.o)
this.currentPage = Math.ceil(this.$route.query.o / this.maxResults) + 1
this.facets.push('host:modrinth')
await this.fillInitialVersions()
await this.onSearchChange(this.currentPage)
},
@ -389,7 +388,6 @@ export default {
for (const facet of [...this.facets]) await this.toggleFacet(facet, true)
this.selectedVersions = []
this.facets.push('host:modrinth')
await this.onSearchChange(1)
},
async toggleFacet(elementName, sendRequest) {