fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100...@apache.org
Subject fineract git commit: FINERACT-499
Date Thu, 20 Jul 2017 13:15:27 GMT
Repository: fineract
Updated Branches:
  refs/heads/develop a41bd8a84 -> 0373ce467


FINERACT-499


Project: http://git-wip-us.apache.org/repos/asf/fineract/repo
Commit: http://git-wip-us.apache.org/repos/asf/fineract/commit/0373ce46
Tree: http://git-wip-us.apache.org/repos/asf/fineract/tree/0373ce46
Diff: http://git-wip-us.apache.org/repos/asf/fineract/diff/0373ce46

Branch: refs/heads/develop
Commit: 0373ce4672894127165e3d2afbee6208b37149f1
Parents: a41bd8a
Author: Nazeer Hussain Shaik <nazeer.shaik@confluxtechnologies.com>
Authored: Thu Jul 20 18:44:47 2017 +0530
Committer: Nazeer Hussain Shaik <nazeer.shaik@confluxtechnologies.com>
Committed: Thu Jul 20 18:44:47 2017 +0530

----------------------------------------------------------------------
 .../portfolio/client/service/ClientReadPlatformServiceImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/fineract/blob/0373ce46/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/service/ClientReadPlatformServiceImpl.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/service/ClientReadPlatformServiceImpl.java
b/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/service/ClientReadPlatformServiceImpl.java
index 24d85c5..d29126c 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/service/ClientReadPlatformServiceImpl.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/service/ClientReadPlatformServiceImpl.java
@@ -246,7 +246,7 @@ public class ClientReadPlatformServiceImpl implements ClientReadPlatformService
 
         if (displayName != null) {
             //extraCriteria += " and concat(ifnull(c.firstname, ''), if(c.firstname >
'',' ', '') , ifnull(c.lastname, '')) like "
-        	paramList.add(ApiParameterHelper.sqlEncodeString(ApiParameterHelper.sqlEncodeString("%"
+ displayName + "%")));
+        	paramList.add("%" + displayName + "%");
         	extraCriteria += " and c.display_name like ? ";
         }
 


Mime
View raw message