From 495fe5182b1644edb6616074cc65d332ed2c0f03 Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 27 Jan 2012 16:13:38 +0000 Subject: [PATCH] change the Denormalized Field for the flaged actions count git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1227 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/models/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/models/node.py b/forum/models/node.py index cc17941..6694426 100644 --- a/forum/models/node.py +++ b/forum/models/node.py @@ -245,7 +245,7 @@ class Node(BaseModel, NodeContent): marked = models.BooleanField(default=False) comment_count = DenormalizedField("children", node_type="comment", canceled=False) - flag_count = DenormalizedField("flags") + flag_count = DenormalizedField("actions", action_type="flag", canceled=False) friendly_name = _("post") -- 2.39.5