revert this; seems to break mysql-4.1
git-svn-id: file:///home/shish/svn/shimmie2/trunk@729 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
975251ed42
commit
77e818c4aa
@ -183,7 +183,7 @@ class TagList extends Extension {
|
||||
AND t1.id = it1.tag_id
|
||||
AND t3.id = it3.tag_id
|
||||
GROUP BY it3.tag_id
|
||||
ORDER BY count(it3.image_id) DESC
|
||||
ORDER BY count DESC
|
||||
LIMIT ?
|
||||
";
|
||||
$args = array($image->id, $config->get_int('tag_list_length'));
|
||||
@ -247,7 +247,7 @@ class TagList extends Extension {
|
||||
AND it1.tag_id = t1.id
|
||||
AND it2.tag_id = t2.id
|
||||
GROUP BY t2.tag
|
||||
ORDER BY count(it2.image_id)
|
||||
ORDER BY count
|
||||
DESC LIMIT ?
|
||||
";
|
||||
$args = array($config->get_int('tag_list_length'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user