From 85bfbdb5e3eb4a2048a080e1aaa7b09a19b635e9 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 24 Nov 2016 18:12:16 +0100 Subject: [PATCH] Display 10 comments on frontpage --- pillar/api/latest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/api/latest.py b/pillar/api/latest.py index 5b5ca1d1..c834e713 100644 --- a/pillar/api/latest.py +++ b/pillar/api/latest.py @@ -102,7 +102,7 @@ def latest_comments(): 'properties.content': 1, 'node_type': 1, 'properties.status': 1, 'properties.is_reply': 1}, - has_public_project, 6) + has_public_project, 10) # Embed the comments' parents. nodes = current_app.data.driver.db['nodes']