Skip to content

Commit 3da083e

Browse files
committed
Force search with lower case
1 parent a9c6672 commit 3da083e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/app/shared/search-form/search-form.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ export class SearchFormComponent implements OnChanges {
116116
updateSearch(data: any) {
117117
const goToFirstPage = { 'spc.page': 1 };
118118

119+
// Force search with lower case
120+
if (data?.query) {
121+
data.query = data.query.toLowerCase();
122+
}
123+
119124
const queryParams = Object.assign(
120125
{
121126
...goToFirstPage

0 commit comments

Comments
 (0)