fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100...@apache.org
Subject [1/2] incubator-fineract git commit: ordere by gl_code added to sql query in retrieveAllGLAccounts
Date Fri, 05 May 2017 11:43:33 GMT
Repository: incubator-fineract
Updated Branches:
  refs/heads/develop 7add0a898 -> f85239b1a


ordere by gl_code added to sql query in retrieveAllGLAccounts


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

Branch: refs/heads/develop
Commit: 1b438021421f6f64414cc5889735987a622f1f3a
Parents: 8baf9f4
Author: ThisuraThejith <ttcphilips@gmail.com>
Authored: Tue Apr 11 00:02:02 2017 +0530
Committer: ThisuraThejith <ttcphilips@gmail.com>
Committed: Tue Apr 11 00:02:02 2017 +0530

----------------------------------------------------------------------
 .../glaccount/service/GLAccountReadPlatformServiceImpl.java        | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/1b438021/fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/service/GLAccountReadPlatformServiceImpl.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/service/GLAccountReadPlatformServiceImpl.java
b/fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/service/GLAccountReadPlatformServiceImpl.java
index d7169dd..4c00869 100755
--- a/fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/service/GLAccountReadPlatformServiceImpl.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/service/GLAccountReadPlatformServiceImpl.java
@@ -194,6 +194,8 @@ public class GLAccountReadPlatformServiceImpl implements GLAccountReadPlatformSe
             }
         }
 
+        sql+=" ORDER BY gl_code ASC";
+
         final Object[] finalObjectArray = Arrays.copyOf(paramaterArray, arrayPos);
         return this.jdbcTemplate.query(sql, rm, finalObjectArray);
     }


Mime
View raw message