Postgres requires you to include the GROUP BY column in the SELECT columns. Should be okay since we don't care about other columns though.

This commit is contained in:
jgen 2014-02-23 02:15:19 -05:00
parent e2fa6d316e
commit 38b494125c

View file

@ -342,7 +342,7 @@ class TagList extends Extension {
global $config;
$query = "
SELECT t3.tag AS tag, t3.count AS calc_count
SELECT t3.tag AS tag, t3.count AS calc_count, it3.tag_id
FROM
image_tags AS it1,
image_tags AS it2,