It correctly uses $primary_table when doing the JOIN, but then simply uses n.moderate for the WHERE portion of the query. This causes problems with Views queries that use 'node' as the primary table, not 'n'.

Patch attached.

CommentFileSizeAuthor
primary_table.patch667 bytesmerlinofchaos

Comments

killes@www.drop.org’s picture

Status: Needs review » Fixed

committed

Anonymous’s picture

Status: Fixed » Closed (fixed)