fixed keyword url parameter type in search view
This commit is contained in:
@ -347,7 +347,7 @@ export default {
|
|||||||
this.settings.search_keywords = []
|
this.settings.search_keywords = []
|
||||||
for (let x of urlParams.getAll('keyword')) {
|
for (let x of urlParams.getAll('keyword')) {
|
||||||
let keyword = {id: x, name: 'loading'}
|
let keyword = {id: x, name: 'loading'}
|
||||||
this.settings.search_keywords.push(keyword.id)
|
this.settings.search_keywords.push(Number.parseInt(keyword.id))
|
||||||
apiClient.retrieveKeyword(x).then(result => {
|
apiClient.retrieveKeyword(x).then(result => {
|
||||||
this.$set(this.settings.search_keywords, this.settings.search_keywords.indexOf(keyword), result.data)
|
this.$set(this.settings.search_keywords, this.settings.search_keywords.indexOf(keyword), result.data)
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user