Closed (fixed)
Project:
Flag
Version:
6.x-2.0-beta5
Component:
Views integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2011 at 15:56 UTC
Updated:
9 Oct 2011 at 06:41 UTC
Can I have two flag relationships in one view? Maybe I'm doing this wrong, but I have a Page View w/ flag-node and flag-comments as my Relationship types. I have two because I'm allowing people to "like" Images as well as Forum Posts (Comments), etc. Thanks!
Comments
Comment #1
quicksketchYou can't do this in Views 2 because it doesn't support "OR" in the queries. You would need to use Views 3 which allows ORing, add two relationships (but don't check the box for "Include only flagged content"), and then add the "Flag: Is Flagged" filter twice (once for each relationship) and arrange them in an OR in your filters.
Comment #2
quicksketch