Forum query Select list missing l.last_comment_timestamp

PMunn - February 26, 2007 - 15:24
Project:Drupal
Version:5.1
Component:forum.module
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

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.

AttachmentSize
forum.module.20070226.pgsql_.patch931 bytes

#1

Dries - February 28, 2007 - 20:44
Status:needs review» fixed

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

#2

Anonymous - March 14, 2007 - 20:46
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.