mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 05:05:55 +00:00
getLabelCounters: add caption to group by to fix query failing on pgsql 8.4 (refs #545)
This commit is contained in:
@@ -1414,7 +1414,8 @@
|
||||
FROM ttrss_labels2 LEFT JOIN ttrss_user_labels2 ON
|
||||
(ttrss_labels2.id = label_id)
|
||||
LEFT JOIN ttrss_user_entries ON (ref_id = article_id AND unread = true)
|
||||
WHERE ttrss_labels2.owner_uid = $owner_uid GROUP BY ttrss_labels2.id");
|
||||
WHERE ttrss_labels2.owner_uid = $owner_uid GROUP BY ttrss_labels2.id,
|
||||
ttrss_labels2.caption");
|
||||
|
||||
while ($line = db_fetch_assoc($result)) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user