fix: filters is expected to be a list
* check the next line, extend is being called
This commit is contained in:
parent
9bfe2cb5fb
commit
4911303977
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue