Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Fixed filtering issue with space inside input text (win)
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed Jun 7, 2018
1 parent fa5bcfc commit b486895
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,12 @@ private bool Filter(object item)

foreach (string word in words)
{
if (listItem.Text.IndexOf(word, StringComparison.OrdinalIgnoreCase) >= 0)
if (listItem.Text.IndexOf(word, StringComparison.OrdinalIgnoreCase) == -1)
{
return true;
return false;
}
}
return false;
return true;
}


Expand Down

0 comments on commit b486895

Please sign in to comment.