diff --git a/src/components/SearchToolbar.vue b/src/components/SearchToolbar.vue index ab494e019bae6c03e4c2d5f36a62cd712ab574ff..7eca746c2d9e2c46c882b8b8b75dbe5864f34a41 100644 --- a/src/components/SearchToolbar.vue +++ b/src/components/SearchToolbar.vue @@ -88,27 +88,27 @@ export default { computed: { inflected_results: { get() { - return this.$parent.scope.includes("b") + return this.$parent.scope.includes("i") }, set() { - if (this.$parent.scope.includes("b")) { - this.$emit('updateScope', this.$parent.scope.replace("b","")) + if (this.$parent.scope.includes("i")) { + this.$emit('updateScope', this.$parent.scope.replace("i","")) } else { - this.$emit('updateScope', this.$parent.scope + "b") + this.$emit('updateScope', this.$parent.scope + "i") } } }, fulltext: { get() { - return this.$parent.scope.includes("x") + return this.$parent.scope.includes("f") }, set() { - if (this.$parent.scope.includes("x")) { - this.$emit('updateScope', this.$parent.scope.replace("x","")) + if (this.$parent.scope.includes("f")) { + this.$emit('updateScope', this.$parent.scope.replace("f","")) } else { - this.$emit('updateScope', this.$parent.scope + "x") + this.$emit('updateScope', this.$parent.scope + "f") } } },