mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: searchview change should only remove related query params (#11576)
This commit is contained in:
parent
2cd7d8a315
commit
7c76a3c12a
@ -1821,9 +1821,8 @@ export default {
|
|||||||
},
|
},
|
||||||
onSearch (opts) {
|
onSearch (opts) {
|
||||||
const query = Object.assign({}, this.$route.query)
|
const query = Object.assign({}, this.$route.query)
|
||||||
for (const key in this.searchParams) {
|
const searchFilters = this.$route?.meta?.searchFilters || []
|
||||||
delete query[key]
|
searchFilters.forEach(key => delete query[key])
|
||||||
}
|
|
||||||
delete query.name
|
delete query.name
|
||||||
delete query.templatetype
|
delete query.templatetype
|
||||||
delete query.keyword
|
delete query.keyword
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user