From ad52d2dda38fe645613acdd2c3b9de006cb58cf9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20St=C4=99pniowski?= Date: Tue, 9 Sep 2008 16:21:07 +0200 Subject: [PATCH] ... --- apps/newtagging/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/newtagging/models.py b/apps/newtagging/models.py index 0c2b0e1f0..5385e9506 100644 --- a/apps/newtagging/models.py +++ b/apps/newtagging/models.py @@ -233,7 +233,7 @@ class TagManager(models.Manager): ) AND %(tag)s.id NOT IN (%(tag_id_placeholders)s) %(extra_where)s - GROUP BY %(tag)s.id, %(tag)s.name + GROUP BY %(tag_columns)s %(min_count_sql)s ORDER BY %(tag)s.%(ordering)s ASC""" % { 'tag': qn(self.model._meta.db_table), -- 2.20.1