minor fix
This commit is contained in:
parent
6e00608556
commit
786db7de12
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ def update_user_settings(doctype, old_fieldname, new_fieldname):
|
|||
# store the user settings data from the redis to db
|
||||
sync_user_settings()
|
||||
|
||||
user_settings = frappe.db.sql(''' select user, doctype, data in `__UserSettings`
|
||||
user_settings = frappe.db.sql(''' select user, doctype, data from `__UserSettings`
|
||||
where doctype=%s and data like "%%%s%%"''', (doctype, old_fieldname), as_dict=1)
|
||||
|
||||
for user_setting in user_settings:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue