Fixed search service
This commit is contained in:
parent
47a3988401
commit
a6e5c0d9ff
@ -21,7 +21,7 @@ export class SearchService<T extends IListable> {
|
|||||||
if (!searchValue || this.skip) {
|
if (!searchValue || this.skip) {
|
||||||
return entities;
|
return entities;
|
||||||
}
|
}
|
||||||
return entities.filter(entity => entity.searchKey?.includes(searchValue));
|
return entities.filter(entity => entity.searchKey?.toLowerCase().includes(searchValue));
|
||||||
}
|
}
|
||||||
|
|
||||||
reset(): void {
|
reset(): void {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user