Closed (outdated)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Plugins system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2012 at 18:22 UTC
Updated:
20 Jul 2026 at 21:40 UTC
Jump to comment: Most recent
Comments
Comment #1
uripo commentedI applied your patch, but I don't see any checkbox in the Views relationships dialog.
Is it maybe I missed something I'm supposed to do after applying the patch?
Or... perhaps I misunderstood something and so I'm looking in the wrong place?
Comment #2
johnnybgoode commentedThis patch has nothing to do with Views or views relationships, it only provides functionality similar to how Views handles multiple value fields.
This patch will add a checkbox to the settings form for an 'entity from field' relationship in the panels page manager to allow the entities referenced by the possibly multiple value field to be reversed when returned to panels as contexts. This then allows the user to easily select the last entity referenced by a multiple value field, e.g. the deepest taxonomy term selected in a term reference field.
Hope that clears things up.
Comment #3
jonhattanWorks as expected.
I guess we need a 8.x version first btw.
Comment #4
merlinofchaos commentedThe patch fails code style:
That's simple enough to fix. But it also checks the new flag 'delta_reversed' without using empty() or isset() which means that existing panes that do not have that field set will cause notices. Other than that it looks okay.
Comment #5
japerryDrupal 7 is no longer supported, closing.