fix feed with filters

This commit is contained in:
les
2020-06-05 23:04:12 +02:00
parent 2018cc0e1e
commit dc94f433b9
2 changed files with 20 additions and 4 deletions

View File

@@ -99,8 +99,8 @@ export default {
return `<iframe style='border: 0px; width: 100%;' src="${this.settings.baseurl}/embed/list?${params.join('&')}"></iframe>`
},
link () {
const tags = this.filters.tags.map(t => t.id).join(',')
const places = this.filters.places.map(p => p.id).join(',')
const tags = this.filters.tags.join(',')
const places = this.filters.places.join(',')
let query = ''
if (tags || places) {
query = '?'