Skip to content

Commit

Permalink
Currency filtering - fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzmaker123 committed Mar 8, 2022
1 parent 462eaec commit 5b45992
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private void fixSpaceKey() {
}

private void filterBy(String query) {
matchingList = (extendedList != null && query.length() > 1 ? extendedList : list)
matchingList = (extendedList != null && query.length() > 0 ? extendedList : list)
.stream()
.filter(item -> StringUtils.containsIgnoreCase(asString(item), query))
.collect(Collectors.toList());
Expand Down

0 comments on commit 5b45992

Please sign in to comment.