Merge pull request #36528 from frappe/fix/log-settings

fix: filters is expected to be a list
This commit is contained in:
Hussain Nagaria 2026-01-30 21:17:25 +05:30 committed by GitHub
commit a5d7f7eef7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,7 +131,7 @@ def has_unseen_error_log():
@frappe.whitelist()
@frappe.validate_and_sanitize_search_inputs
def get_log_doctypes(doctype, txt, searchfield, start, page_len, filters):
filters = filters or {}
filters = filters or []
filters.extend(
[