wip mifosx-97 refactor audit/makerchecker datascoping for non-headoffice user
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ public class AuditReadPlatformServiceImpl implements AuditReadPlatformService {
|
||||
// data scoping: head office (hierarchy = ".") can see all audit
|
||||
// entries
|
||||
if (!(hierarchy.equals("."))) {
|
||||
partSql += " join m_office o on o.id = aud.office_id and o.hierarchy like '"
|
||||
partSql += " join m_office o2 on o2.id = aud.office_id and o2.hierarchy like '"
|
||||
+ hierarchy + "%' ";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user