wip mifosx-97 refactor audit/makerchecker datascoping for non-headoffice user

This commit is contained in:
John Woodlock
2013-04-03 03:12:12 +01:00
parent 8e274b2d4a
commit 12f799fe6b
@@ -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 + "%' ";
}