fix: Failing search util import and patch
- Use simple function import instead of global variable to check if field is valid to index - Commit after every 20 items in patch to create web items from items
This commit is contained in:
@@ -19,9 +19,6 @@ def get_indexable_web_fields():
|
||||
|
||||
return [df.fieldname for df in valid_fields]
|
||||
|
||||
ALLOWED_INDEXABLE_FIELDS_SET = get_indexable_web_fields()
|
||||
|
||||
|
||||
def is_search_module_loaded():
|
||||
cache = frappe.cache()
|
||||
out = cache.execute_command('MODULE LIST')
|
||||
|
||||
Reference in New Issue
Block a user