fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptuom...@apache.org
Subject [fineract] branch develop updated: Fix SQLBuilder IAE from StaffReadPlatformServiceImpl (FINERACT-1149)
Date Sat, 12 Sep 2020 03:36:30 GMT
This is an automated email from the ASF dual-hosted git repository.

ptuomola 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 6ac3eea  Fix SQLBuilder IAE from StaffReadPlatformServiceImpl (FINERACT-1149)
6ac3eea is described below

commit 6ac3eea0bc3b89f923db06505510b74eede7540c
Author: Michael Vorburger ⛑️ <mike@vorburger.ch>
AuthorDate: Fri Sep 11 21:24:27 2020 +0200

    Fix SQLBuilder IAE from StaffReadPlatformServiceImpl (FINERACT-1149)
---
 .../organisation/staff/service/StaffReadPlatformServiceImpl.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fineract-provider/src/main/java/org/apache/fineract/organisation/staff/service/StaffReadPlatformServiceImpl.java
b/fineract-provider/src/main/java/org/apache/fineract/organisation/staff/service/StaffReadPlatformServiceImpl.java
index 1d46ec5..7cc6347 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/organisation/staff/service/StaffReadPlatformServiceImpl.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/organisation/staff/service/StaffReadPlatformServiceImpl.java
@@ -161,7 +161,7 @@ public class StaffReadPlatformServiceImpl implements StaffReadPlatformService
{
     public Collection<StaffData> retrieveAllLoanOfficersInOfficeById(final Long officeId)
{
         SQLBuilder extraCriteria = new SQLBuilder();
         extraCriteria.addCriteria(" office_id = ", officeId);
-        extraCriteria.addCriteria(" is_loan_officer= = ", 1);
+        extraCriteria.addCriteria(" is_loan_officer = ", 1);
         return retrieveAllStaff(extraCriteria);
     }
 


Mime
View raw message