Show blog on the tree

This commit is contained in:
Pablo Vazquez 2016-11-24 18:14:25 +01:00
parent 6910d3da49
commit b1a0e1e3b6

View File

@ -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']}}},
], ],
} }
} }