Show blog on the tree
This commit is contained in:
@@ -44,7 +44,7 @@ def jstree_get_children(node_id, project_id=None):
|
|||||||
'where': {
|
'where': {
|
||||||
'$and': [
|
'$and': [
|
||||||
{'node_type': {'$regex': '^(?!attract_)'}},
|
{'node_type': {'$regex': '^(?!attract_)'}},
|
||||||
{'node_type': {'$not': {'$in': ['comment', 'post', 'blog']}}},
|
{'node_type': {'$not': {'$in': ['comment', 'post']}}},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user