diff --git a/api/src/main/java/org/openmrs/module/kenyacore/report/ReportManager.java b/api/src/main/java/org/openmrs/module/kenyacore/report/ReportManager.java index 3c7ebcc..87d7596 100644 --- a/api/src/main/java/org/openmrs/module/kenyacore/report/ReportManager.java +++ b/api/src/main/java/org/openmrs/module/kenyacore/report/ReportManager.java @@ -49,12 +49,8 @@ public class ReportManager implements ContentManager { private List cohortAnalysisReports = new ArrayList(); - public List getEhrReports() { - return ehrReports; - } - - public void setEhrReports(List ehrReports) { - this.ehrReports = ehrReports; + public List getEhrReports(AppDescriptor app) { + return filterReports(ehrReports, app); } private List ehrReports = new ArrayList();