From b1a0e1e3b639c1b0dc2f51d7ab07751200b979c4 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 24 Nov 2016 18:14:25 +0100 Subject: [PATCH] Show blog on the tree --- pillar/web/utils/jstree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/web/utils/jstree.py b/pillar/web/utils/jstree.py index 0343ff16..c1314515 100644 --- a/pillar/web/utils/jstree.py +++ b/pillar/web/utils/jstree.py @@ -44,7 +44,7 @@ def jstree_get_children(node_id, project_id=None): 'where': { '$and': [ {'node_type': {'$regex': '^(?!attract_)'}}, - {'node_type': {'$not': {'$in': ['comment', 'post', 'blog']}}}, + {'node_type': {'$not': {'$in': ['comment', 'post']}}}, ], } }