Skip to content

Commit 3a6a218

Browse files
authored
fix: fixed Search view returning all events unfiltered, and converted component to typescript (#555)
1 parent 6bffa65 commit 3a6a218

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/views/Search.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ div
4141
| Add a week to the search: #[b-button(size="sm" variant="outline-dark" @click="start = start.subtract(1, 'week'); search()") +1 week]
4242
</template>
4343

44-
<script>
44+
<script lang="ts">
4545
import _ from 'lodash';
4646
import moment from 'moment';
4747
import { canonicalEvents } from '~/queries';
@@ -75,8 +75,8 @@ export default {
7575
bid_window: 'aw-watcher-window_' + this.queryOptions.hostname,
7676
bid_afk: 'aw-watcher-afk_' + this.queryOptions.hostname,
7777
filter_afk: this.queryOptions.filter_afk,
78-
classes: [[['searched'], { type: 'regex', regex: this.pattern }]],
79-
filter_classes: [['searched']],
78+
categories: [[['searched'], { type: 'regex', regex: this.pattern }]],
79+
filter_categories: [['searched']],
8080
});
8181
query += '; RETURN = events;';
8282

0 commit comments

Comments
 (0)