Remove blog and page node types from jstree
They will be visible in project_navigation_links (see next commit).
This commit is contained in:
parent
afda0062f5
commit
c795015a3c
@ -62,7 +62,7 @@ def jstree_get_children(node_id, project_id=None):
|
||||
'where': {
|
||||
'$and': [
|
||||
{'node_type': {'$regex': '^(?!attract_)'}},
|
||||
{'node_type': {'$not': {'$in': ['comment', 'post']}}},
|
||||
{'node_type': {'$not': {'$in': ['comment', 'post', 'blog', 'page']}}},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user