search bugfix #2293

This commit is contained in:
2023-10-10 10:00:52 +02:00
parent 1dd82a855e
commit 69b0d79591
3 changed files with 13 additions and 8 deletions
+6 -5
View File
@@ -24,7 +24,7 @@ export default {
},
created () {
console.log("search created");
this.value = this.keys;
this.value = this.keys.join(' ');
this.content_type = this.contentTypeFilter;
},
watch: {
@@ -49,13 +49,14 @@ export default {
// let value = event.target[0].value;
this.newSearch();
},
onClickResult(id, eid) {
this.openCloseConcernements(id)
onClickResult(cid, eid) {
// open map item
this.openCloseConcernements(cid)
// apoen cartouch via routing
this.$router.push({
name: 'concernement',
hash: `#${this.map_mode}`,
params: {id: id, eid: eid}
params: {cid: cid, eid: eid}
});
}
},