Active
Project:
Annotate
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2011 at 13:06 UTC
Updated:
29 Oct 2011 at 07:07 UTC
The views-7.x-3.x now has a change in the function add_where() method. So the filter
$where = '((annotate.visibility = 3 AND annotate.nid IN (SELECT nid FROM annotate WHERE uid = ***CURRENT_USER***))
OR (annotate.visibility = 1 AND note_node.uid= ***CURRENT_USER***)
OR (annotate.visibility = 2)
OR (annotate.uid = ***CURRENT_USER***)
OR ***CURRENT_USER*** = 1)
AND '. $access;
must be converted into this new way.
The filter was bad (D6) due to the participants query.
Comments
Comment #1
clemens.tolboomIs this http://www.drupaler.co.uk/blog/dynamically-changing-views-table-joins a solution ?