fix: feed not visible when filter is reset
diff --git a/erpnext/healthcare/page/patient_history/patient_history.py b/erpnext/healthcare/page/patient_history/patient_history.py
index c04b376..b8494c9 100644
--- a/erpnext/healthcare/page/patient_history/patient_history.py
+++ b/erpnext/healthcare/page/patient_history/patient_history.py
@@ -14,7 +14,8 @@
filters = {'patient': name}
if document_types:
document_types = json.loads(document_types)
- filters['reference_doctype'] = ['IN', document_types]
+ if len(document_types):
+ filters['reference_doctype'] = ['IN', document_types]
result = frappe.db.get_all('Patient Medical Record',
fields=['name', 'owner', 'creation',