diff --git a/config.json b/config.json index 5b0a01690c..449437fc09 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "base_template": "lib/website/templates/base.html", - "framework_version": "3.7.3", + "framework_version": "3.7.4", "modules": { "Calendar": { "color": "#2980b9", diff --git a/webnotes/model/controller.py b/webnotes/model/controller.py index a64485808d..6d98a8e8ec 100644 --- a/webnotes/model/controller.py +++ b/webnotes/model/controller.py @@ -50,6 +50,10 @@ class DocListController(object): elif df.fieldtype in ("Int", "Check"): val1 = cint(val1) val2 = cint(val2) + elif df.fieldtype in ("Data", "Text", "Small Text", "Long Text", + "Text Editor", "Select", "Link"): + val1 = cstr(val1) + val2 = cstr(val2) if not webnotes.compare(val1, condition, val2): msg = _("Error") + ": "