Skip to content

Commit

Permalink
Merge pull request #1467 from alexbakker/trim-search
Browse files Browse the repository at this point in the history
Trim spaces from the search filter
  • Loading branch information
michaelschattgen authored Aug 27, 2024
2 parents 2add8aa + 7e1daf7 commit 20c5236
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public String getSearchFilter() {
}

public void setSearchFilter(String search) {
_searchFilter = (search != null && !search.isEmpty()) ? search.toLowerCase() : null;
_searchFilter = (search != null && !search.isEmpty()) ? search.toLowerCase().trim() : null;
updateShownEntries();
}

Expand Down

0 comments on commit 20c5236

Please sign in to comment.