Fix 'Latest Assets' list not being updated
Was simply missing project_id
This commit is contained in:
parent
77b17e31e0
commit
14a8be6329
@ -418,9 +418,9 @@ def edit(node_id):
|
|||||||
if process_node_form(form, node_id=node_id, node_type=node_type, user=user_id):
|
if process_node_form(form, node_id=node_id, node_type=node_type, user=user_id):
|
||||||
# Handle the specific case of a blog post
|
# Handle the specific case of a blog post
|
||||||
if node_type.name == 'post':
|
if node_type.name == 'post':
|
||||||
project_update_nodes_list(node, list_name='blog')
|
project_update_nodes_list(node, project_id=project._id, list_name='blog')
|
||||||
else:
|
else:
|
||||||
project_update_nodes_list(node)
|
project_update_nodes_list(node, project_id=project._id)
|
||||||
# Emergency hardcore cache flush
|
# Emergency hardcore cache flush
|
||||||
# cache.clear()
|
# cache.clear()
|
||||||
return redirect(url_for('nodes.view', node_id=node_id, embed=1,
|
return redirect(url_for('nodes.view', node_id=node_id, embed=1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user