Avoid seeing homepage on existing search
This commit is contained in:
parent
66139e8166
commit
c95f4b78f1
|
@ -490,6 +490,9 @@
|
|||
this.indexName = config.searchInstanceName
|
||||
|
||||
if (Object.keys(this.$route.query).length !== 0) {
|
||||
// Speed up search done variable if the user came directly with a query
|
||||
// So it does not see the homepage for a few ms
|
||||
this.searchDone = true
|
||||
this.loadUrl()
|
||||
this.doSearch()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue