From: jordan Date: Fri, 27 Jan 2012 16:13:38 +0000 (+0000) Subject: change the Denormalized Field for the flaged actions count X-Git-Tag: live~90 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/495fe5182b1644edb6616074cc65d332ed2c0f03 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 --- 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")