diff --git a/src/main/java/au/com/royalpay/payment/manage/organizations/core/impls/OrgManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/organizations/core/impls/OrgManagerImpl.java index 658f5f7fa..48a024f35 100644 --- a/src/main/java/au/com/royalpay/payment/manage/organizations/core/impls/OrgManagerImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/organizations/core/impls/OrgManagerImpl.java @@ -127,6 +127,7 @@ public class OrgManagerImpl implements OrgManager { if (params.getString("org_id")==null){ if (manager.getInteger("org_id")!=null){ List orgs = orgMapper.listOrgAndChild(manager.getIntValue("org_id")); + params.put("org_id",manager.getIntValue("org_id")); if (orgs.size()>1){ List orgIds = orgs.stream().map(org->org.getIntValue("org_id")).collect(Collectors.toList()); params.put("org_ids",orgIds);