Download & Extend

Forum query Select list missing l.last_comment_timestamp

Project:Drupal core
Version:5.1
Component:forum.module
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

A query in the forum module is missing a column from the SELECT list that is present in the ORDER BY clause. This is the l.last_comment_timestamp column.

This causes an error in PostgreSQL, so I have submitted a patch that corrects this problem here.

AttachmentSizeStatusTest resultOperations
forum.module.20070226.pgsql_.patch931 bytesIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» fixed

Good catch. Committed to CVS HEAD. Thanks, PMunn.

#2

Status:fixed» closed (fixed)