нечувствительность фильтров заголовков к регистру
This commit is contained in:
@@ -29,7 +29,7 @@ public class HeaderTextFilter<D extends DBObject> implements DBObjectFilter_<D>
|
||||
@Override
|
||||
public boolean Validate(D object) {
|
||||
Object field = dataSet.getUI().getFieldAt(object, columnIndex);
|
||||
return (field instanceof String) && field.toString().contains(filterValue);
|
||||
return (field instanceof String) && field.toString().toLowerCase().contains(filterValue);
|
||||
}
|
||||
//---
|
||||
public void Mount(DataTable control) {
|
||||
@@ -108,6 +108,6 @@ public class HeaderTextFilter<D extends DBObject> implements DBObjectFilter_<D>
|
||||
return filterValue;
|
||||
}
|
||||
public void setFilterValue(String filterValue_in) {
|
||||
this.filterValue = filterValue_in;
|
||||
this.filterValue = filterValue_in.toLowerCase();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user