summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-04-27 17:19:20 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-04-27 17:19:20 +0000
commite08bde4def6093fde4a51da6eacf25b394a22bf3 (patch)
treefaee087f0e78366e59f63e256127bcc4ec750d59 /modules/aggregator
parent195f672075f900802787864193cea8705f0a33f3 (diff)
downloadbrdo-e08bde4def6093fde4a51da6eacf25b394a22bf3.tar.gz
brdo-e08bde4def6093fde4a51da6eacf25b394a22bf3.tar.bz2
- PGSQL Fix: missing columns in GROUP BY (aggregator news -> sources was broken).
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 6f5dc378f..3d33c88af 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -956,7 +956,7 @@ function _aggregator_page_list($sql, $op, $header = '') {
* Menu callback; displays all the feeds used by the aggregator.
*/
function aggregator_page_sources() {
- $result = db_query('SELECT f.fid, f.title, f.description, f.image, MAX(i.timestamp) AS last FROM {aggregator_feed} f LEFT JOIN {aggregator_item} i ON f.fid = i.fid GROUP BY f.fid');
+ $result = db_query('SELECT f.fid, f.title, f.description, f.image, MAX(i.timestamp) AS last FROM {aggregator_feed} f LEFT JOIN {aggregator_item} i ON f.fid = i.fid GROUP BY f.fid, f.title, f.description, f.image');
$output = "<div id=\"aggregator\">\n";
while ($feed = db_fetch_object($result)) {
$output .= '<h2>'. check_plain($feed->title) ."</h2>\n";