Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2011 at 16:31 UTC
Updated:
3 Aug 2011 at 19:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
rvilarThere was a problem in the function used to make the query. It used:
$this->query->add_where($this->options['group'], "$table.tnid = $table.nid" . ($this->operator ? " OR $table.tnid = 0" : ''));But the correct form is:
$this->query->add_where_expression($this->options['group'], "$table.tnid = $table.nid" . ($this->operator ? " OR $table.tnid = 0" : ''));Comment #2
dawehnerThat's not that critical from my perspective because it's just a certain part of views.
Anyway commited to 7.x-3.x, because it looks clearly as bug and solution.