fix: filters is expected to be a list

* check the next line, extend is being called
This commit is contained in:
Hussain Nagaria 2026-01-30 18:04:41 +05:30
parent 9bfe2cb5fb
commit 4911303977

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(
[