Author: jleroux
Date: Sun Jan 18 17:19:03 2015
New Revision: 1652803

URL: http://svn.apache.org/r1652803
Log:
Improvement, I had enough to remove trailing blanks when filtering by entity 
name

Modified:
    
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/EntityMaint.groovy

Modified: 
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/EntityMaint.groovy
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/EntityMaint.groovy?rev=1652803&r1=1652802&r2=1652803&view=diff
==============================================================================
--- 
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/EntityMaint.groovy
 (original)
+++ 
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/EntityMaint.groovy
 Sun Jan 18 17:19:03 2015
@@ -60,7 +60,7 @@ entities.each { entityName ->
     if (filterByGroupName && !filterByGroupName.equals(entityGroupName)) {
         return;
     }
-    if (filterByEntityName && 
!((String)entity.getEntityName()).toUpperCase().contains(filterByEntityName.toUpperCase()))
 {
+    if (filterByEntityName && 
!((String)entity.getEntityName()).toUpperCase().contains(filterByEntityName.toUpperCase().replace("
 ", ""))) {
         return;
     }
     viewEntity = "N";


Reply via email to