Skip to content

Commit 6c30c0c

Browse files
committed
Merge branch 'develop'
2 parents 8cb0261 + d28f1b6 commit 6c30c0c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"base_template": "lib/website/templates/base.html",
3-
"framework_version": "3.10.1",
3+
"framework_version": "3.10.2",
44
"modules": {
55
"Calendar": {
66
"color": "#2980b9",

core/report/todo/todo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def execute(filters=None):
1717
todo.date and getdate(todo.date) or getdate("1900-01-01")), reverse=True)
1818

1919
columns = ["ID:Link/ToDo:90", "Priority::60", "Date:Date", "Description::150",
20-
"Assigned To/Owner:Link/Profile:120", "Assigned By:Link/Profile:120", "Reference::200"]
20+
"Assigned To/Owner:Data:120", "Assigned By:Data:120", "Reference::200"]
2121

2222
result = []
2323
for todo in todo_list:

webnotes/defaults.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ def clear_default(key=None, value=None, parent=None, name=None):
101101

102102
if not conditions:
103103
raise Exception, "[clear_default] No key specified."
104-
105-
webnotes.conn.sql("""delete from tabDefaultValue where %s""" % " and ".join(conditions), values)
104+
105+
webnotes.conn.sql("""delete from tabDefaultValue where {0}""".format(" and ".join(conditions)), tuple(values))
106106
clear_cache()
107107

108108
def get_defaults_for(parent="Control Panel"):

0 commit comments

Comments
 (0)