fix to kb
This commit is contained in:
parent
98b3676246
commit
af43b7457c
@ -15,7 +15,7 @@
|
|||||||
'doctype': 'Page',
|
'doctype': 'Page',
|
||||||
'module': 'Knowledge Base',
|
'module': 'Knowledge Base',
|
||||||
'name': '__common__',
|
'name': '__common__',
|
||||||
'page_name': 'Questions',
|
'page_name': 'questions',
|
||||||
'standard': 'Yes'
|
'standard': 'Yes'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# REMEMBER to update this
|
# REMEMBER to update this
|
||||||
# ========================
|
# ========================
|
||||||
|
|
||||||
last_patch = 337
|
last_patch = 338
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
@ -1373,3 +1373,7 @@ def execute(patch_no):
|
|||||||
sp_acx[i+1] = '"'.join(sp_quot)
|
sp_acx[i+1] = '"'.join(sp_quot)
|
||||||
html = "acx=".join(sp_acx)
|
html = "acx=".join(sp_acx)
|
||||||
webnotes.conn.sql("""UPDATE tabItem SET description_html=%s WHERE name=%s""", (html, item))
|
webnotes.conn.sql("""UPDATE tabItem SET description_html=%s WHERE name=%s""", (html, item))
|
||||||
|
elif patch_no == 338:
|
||||||
|
# update name of questions page
|
||||||
|
sql("update tabPage set name='questions' where name='Questions'")
|
||||||
|
sql("update tabPage set name='question-view' where name='Question View'")
|
Loading…
x
Reference in New Issue
Block a user