fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
655e8e9
)
...
author
Marek Stępniowski
<marek@stepniowski.com>
Tue, 9 Sep 2008 14:21:07 +0000
(16:21 +0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Tue, 9 Sep 2008 14:21:07 +0000
(16:21 +0200)
apps/newtagging/models.py
patch
|
blob
|
history
diff --git
a/apps/newtagging/models.py
b/apps/newtagging/models.py
index
0c2b0e1
..
5385e95
100644
(file)
--- 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),