mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-19 14:55:13 +00:00
patch fix: published on should be date of creation
This commit is contained in:
@@ -6,4 +6,4 @@ def execute():
|
||||
webnotes.reload_doc('website', 'doctype', 'blog_post')
|
||||
webnotes.conn.sql('''update tabBlogger set posts=(select count(*)
|
||||
from `tabBlog Post` where ifnull(blogger,"")=tabBlogger.name)''')
|
||||
webnotes.conn.sql("""update `tabBlog Post` set published_on=creation""")
|
||||
webnotes.conn.sql("""update `tabBlog Post` set published_on=date(creation)""")
|
||||
|
||||
Reference in New Issue
Block a user