Skip to content
Snippets Groups Projects
Commit e9ac0bef authored by buczekp's avatar buczekp
Browse files

minor: use " " instead of "|" as an or separator while filtering grid rows to...

minor: use " " instead of "|" as an or separator while filtering grid rows to make it more consistent with search

SVN: 12568
parent e0ec4e57
No related branches found
No related tags found
No related merge requests found
...@@ -78,10 +78,11 @@ public final class CachedResultSetManager<K> implements IResultSetManager<K>, Se ...@@ -78,10 +78,11 @@ public final class CachedResultSetManager<K> implements IResultSetManager<K>, Se
FilterInfo(GridFilterInfo<T> gridFilterInfo) FilterInfo(GridFilterInfo<T> gridFilterInfo)
{ {
this.filteredField = gridFilterInfo.getFilteredField(); this.filteredField = gridFilterInfo.getFilteredField();
// TODO 2009-09-14, Piotr Buczek: allow to use space with quotes
this.filterExpressionAlternatives = this.filterExpressionAlternatives =
StringUtils.split(gridFilterInfo.getFilterPattern().toLowerCase(), '|'); StringUtils.split(gridFilterInfo.getFilterPattern().toLowerCase(), ' ');
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
static <T> FilterInfo<T> create(GridFilterInfo<T> filterInfo) static <T> FilterInfo<T> create(GridFilterInfo<T> filterInfo)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment