search bugfix #2293
This commit is contained in:
@@ -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}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user