Skip to content

Commit

Permalink
Fix normalized case-sensitive search params (#18992)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek authored Nov 2, 2023
1 parent 5b13b51 commit 35b4d6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const useUnifiedRepositorySearch = ({ searchString, excludeProjects = fal

export const filterRepos = (searchString: string, suggestedRepos: SuggestedRepository[]) => {
let results = suggestedRepos;
const normalizedSearchString = searchString.trim().toLowerCase();
const normalizedSearchString = searchString.trim();

if (normalizedSearchString.length > 1) {
results = suggestedRepos.filter((r) => {
Expand Down

0 comments on commit 35b4d6a

Please sign in to comment.