Author: konstantin.mishin
Date: 2008-04-30 10:45:06 -0400 (Wed, 30 Apr 2008)
New Revision: 8380
Modified:
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java
Log:
RF-2912
Modified:
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java
===================================================================
---
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java 2008-04-30
13:52:25 UTC (rev 8379)
+++
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java 2008-04-30
14:45:06 UTC (rev 8380)
@@ -25,7 +25,7 @@
if (filterField instanceof ExtendedFilterField) {
Object property =
wrapper.getProperty(filterField.getExpression().getExpressionString());
String filterValue = ((ExtendedFilterField)filterField).getFilterValue();
- if(filterValue != null) {
+ if(filterValue != null && filterValue.length() > 0) {
filterValue = filterValue.trim().toUpperCase();
if(property == null ||
!property.toString().trim().toUpperCase().startsWith(filterValue)) {
return false;
Show replies by date