Skip to content

Commit

Permalink
fix: fixed Search view returning all events unfiltered, and converted…
Browse files Browse the repository at this point in the history
… component to typescript (#555)
  • Loading branch information
ErikBjare committed May 1, 2024
1 parent 6bffa65 commit 3a6a218
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ div
| Add a week to the search: #[b-button(size="sm" variant="outline-dark" @click="start = start.subtract(1, 'week'); search()") +1 week]
</template>

<script>
<script lang="ts">
import _ from 'lodash';
import moment from 'moment';
import { canonicalEvents } from '~/queries';
Expand Down Expand Up @@ -75,8 +75,8 @@ export default {
bid_window: 'aw-watcher-window_' + this.queryOptions.hostname,
bid_afk: 'aw-watcher-afk_' + this.queryOptions.hostname,
filter_afk: this.queryOptions.filter_afk,
classes: [[['searched'], { type: 'regex', regex: this.pattern }]],
filter_classes: [['searched']],
categories: [[['searched'], { type: 'regex', regex: this.pattern }]],
filter_categories: [['searched']],
});
query += '; RETURN = events;';
Expand Down

0 comments on commit 3a6a218

Please sign in to comment.