From ab61a26d1cdccea1ae30e981e5ece36c3fdc4fad Mon Sep 17 00:00:00 2001 From: Muhimbura Brian Mart Date: Fri, 17 Nov 2023 17:48:56 +0300 Subject: [PATCH] fix for qa --- .../agency/service/AgencyReadPlatformServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fineract-provider/src/main/java/org/apache/fineract/organisation/agency/service/AgencyReadPlatformServiceImpl.java b/fineract-provider/src/main/java/org/apache/fineract/organisation/agency/service/AgencyReadPlatformServiceImpl.java index 933e497c429..55d3451eb21 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/organisation/agency/service/AgencyReadPlatformServiceImpl.java +++ b/fineract-provider/src/main/java/org/apache/fineract/organisation/agency/service/AgencyReadPlatformServiceImpl.java @@ -279,7 +279,7 @@ public Collection retrieveByOfficeHierarchy(final String hierarchy) m_office mo INNER JOIN m_office office_under ON office_under.hierarchy LIKE CONCAT(mo.hierarchy, '%')AND office_under.hierarchy LIKE CONCAT(?, '%') - INNER JOIN m_agency ma ON ma.office_id = office_under.id + INNER JOIN m_agency ma ON ma.linked_office_id = office_under.id GROUP BY ma.id """; return this.jdbcTemplate.query(sql, (rs, rowNum) -> AgencyData.instance(rs.getLong("id"), rs.getString("name")),