You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ar...@apache.org on 2022/05/26 20:11:07 UTC

[fineract] branch develop updated: Fix in accounting rule system_defined

This is an automated email from the ASF dual-hosted git repository.

arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new e277c85c6 Fix in accounting rule system_defined
e277c85c6 is described below

commit e277c85c69c3a9ae66ed3fa362eafdb9b8113ae0
Author: Jose Alberto Hernandez <al...@MacBook-Pro.local>
AuthorDate: Thu May 26 14:23:36 2022 -0500

    Fix in accounting rule system_defined
---
 .../accounting/rule/service/AccountingRuleReadPlatformServiceImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fineract-provider/src/main/java/org/apache/fineract/accounting/rule/service/AccountingRuleReadPlatformServiceImpl.java b/fineract-provider/src/main/java/org/apache/fineract/accounting/rule/service/AccountingRuleReadPlatformServiceImpl.java
index 0db636d6f..8b15f1f9b 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/accounting/rule/service/AccountingRuleReadPlatformServiceImpl.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/accounting/rule/service/AccountingRuleReadPlatformServiceImpl.java
@@ -152,7 +152,7 @@ public class AccountingRuleReadPlatformServiceImpl implements AccountingRuleRead
         final AccountingRuleDataExtractor resultSetExtractor = new AccountingRuleDataExtractor(this.jdbcTemplate,
                 this.glAccountReadPlatformService, isAssociationParametersExists);
         Object[] arguments = new Object[] {};
-        String sql = "select " + resultSetExtractor.schema() + " and system_defined=0 ";
+        String sql = "select " + resultSetExtractor.schema() + " and system_defined=false ";
         if (hierarchySearchString != null) {
             sql = sql + " and office.hierarchy like ?";
             arguments = new Object[] { hierarchySearchString };