diff --git a/js/legacy/wn/widgets/form/assign_to.js b/js/legacy/wn/widgets/form/assign_to.js index 5d2b5f03f1..f3fa5a4e9c 100644 --- a/js/legacy/wn/widgets/form/assign_to.js +++ b/js/legacy/wn/widgets/form/assign_to.js @@ -79,8 +79,7 @@ wn.widgets.form.sidebar.AssignTo = Class.extend({ {fieldtype:'Link', fieldname:'assign_to', options:'Profile', label:'Assign To', description:'Add to To Do List of', reqd:true}, - {fieldtype:'Data', fieldname:'description', label:'Comment', - 'default': 'Assigned by ' + user}, + {fieldtype:'Data', fieldname:'description', label:'Comment'}, {fieldtype:'Date', fieldname:'date', label:'Complete By'}, {fieldtype:'Select', fieldname:'priority', label:'Priority', options:'Low\nMedium\nHigh', 'default':'Medium'}, diff --git a/py/webnotes/boot.py b/py/webnotes/boot.py index 428a4b8c7e..6c6a32cfa5 100644 --- a/py/webnotes/boot.py +++ b/py/webnotes/boot.py @@ -77,7 +77,7 @@ def get_fullnames(): import webnotes ret = webnotes.conn.sql("""select name, concat(ifnull(first_name, ''), - if(ifnull(first_name, '')!='', ' ', ''), ifnull(last_name, '')), + if(ifnull(last_name, '')!='', ' ', ''), ifnull(last_name, '')), user_image, gender from tabProfile where ifnull(enabled, 0)=1""", as_list=1) d = {}