We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 506d30d commit 2d2c44cCopy full SHA for 2d2c44c
vue-client/src/components/search/search-form.vue
@@ -62,7 +62,6 @@ export default {
62
doSearch() {
63
this.helpToggled = false;
64
let path = '';
65
- console.log('this.searchperimeter', this.searchPerimeter);
66
if (this.searchPerimeter === 'libris' || this.searchPerimeter === 'remote') {
67
path = `/search/${this.searchPerimeter}?${this.composeQuery()}`;
68
} else if (this.searchTool === 'changes') {
@@ -262,6 +261,11 @@ export default {
262
261
this.resetSearchParam();
263
}
264
},
+ searchTool(newVal, oldVal) {
265
+ if (newVal !== oldVal && newVal === 'changes') {
266
+ this.doSearch();
267
+ }
268
+ },
269
searchPerimeter(newVal, oldVal) {
270
if (newVal !== oldVal) {
271
this.$nextTick(() => {
0 commit comments