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:
parent
e2fa6d316e
commit
38b494125c
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue