Skip to content

Commit

Permalink
Merge pull request #1202 from frankrousseau/master
Browse files Browse the repository at this point in the history
[entities] Fix priority filtering on big lists
  • Loading branch information
EvanBldy authored Sep 26, 2023
2 parents d130b31 + fa09e55 commit a242062
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/modals/BuildFilterModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
<div class="flexrow">
<combobox-task-type
class="flexrow-item"
:task-type-list="readyForTaskTypeList"
:task-type-list="taskTypeList"
open-top
v-model="priority.taskTypeId"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/TaskType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ export default {
this.resetTaskTypeDates()
this.loading.entities = false
let searchQuery = this.$route.query.search
if (searchQuery.length === 0) {
if (!searchQuery || searchQuery.length === 0) {
searchQuery =
!searchQuery && this.searchField
? this.searchField.getValue()
Expand Down
1 change: 1 addition & 0 deletions src/lib/filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export const getKeyWords = queryText => {
} else {
return queryText
.replace(UNION_REGEX, '')
.replace(EQUAL_PRIORITY_REGEX, '')
.replace(EQUAL_REGEX, '')
.replace(MULTIPLE_REGEX, '')
.split(' ')
Expand Down

0 comments on commit a242062

Please sign in to comment.