Commit 8af82de8 authored by shabai517's avatar shabai517
Browse files

add keyword search in the landing page

parent 4a1b39db
......@@ -175,9 +175,9 @@
},
submitSearchCondition(){
if(this.selected == 'archive')
this.$router.push({name:'archive',query:{ q: this.keyword }});
this.$router.push({name:'archive',query:{ keyword: this.keyword }});
else if(this.selected == 'peptidome')
this.$router.push({name:'peptidesearch',query:{ q: this.keyword }});
this.$router.push({name:'peptidesearch',query:{ keyword: this.keyword }});
},
advanceSearchConditoinRemove (index) {
this.searchItems.splice(index, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment