Skip to content

Commit

Permalink
Merge pull request #1970 from bcgov/bugfix/ALCS-2358
Browse files Browse the repository at this point in the history
Fix Tag Search in Tag Component
  • Loading branch information
Abradat authored Nov 12, 2024
2 parents 5681595 + 4dc12fe commit 5ef1159
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ export class TagsHeaderComponent implements OnInit, OnChanges {
const filterValue = value.toLowerCase();
return this.allTags.filter(
(tag) =>
tag.name.toLowerCase().startsWith(filterValue) &&
!this.tags.some((selectedTag) => selectedTag.uuid === tag.uuid),
tag.name.toLowerCase().includes(filterValue) && !this.tags.some((selectedTag) => selectedTag.uuid === tag.uuid),
);
}

Expand Down

0 comments on commit 5ef1159

Please sign in to comment.