Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Exportables
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2012 at 18:03 UTC
Updated:
13 Aug 2016 at 05:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
derhasi commentedAnd there's the first part of the patch ;)
Comment #2
tim.plunkettBegin with a capital, end with a full stop
Same as above, also use " Defaults to TRUE." at the end of the line instead.
Same as above
Is all this flipping needed if array_intersect is used instead?
Comment #3
derhasi commentedTim, I adjusted the comments, as u proposed.
The flipping is really needed, IMHO, as we need the values of the map to be returned, which are the counterpart of the input $args. In the case we use, array_intersect, we would have to flip the return array. In each case we get similar numbers of flips.
Comment #4
ousmaneo commentedTested !
Working patch makes possible exporting panels page taxonomy argument with machine_name instead of vids
Comment #5
Angry Dan commentedI've made some pretty big adjustments to this patch which should improve performance amongst other things.
Comment #6
jeqq commentedPatch from comment #5 works for me. Thanks.
Comment #7
jeqq commentedNotice for Taxonomy term template pages.
Notice: Undefined index: vids in ctools_term_context() (line 42 of /var/www/features/sites/all/modules/contrib/ctools/plugins/arguments/term.inc).
Comment #10
Angry Dan commentedI've had this working for ages now, can we get a commit please?
Comment #11
thepanz commentedUpdated patch, rerolled against latest 7.x-1.x release.
Added the same edits also to the "term_depth" plug-in (that ships with CTools)
Comment #13
japerryI'm not sure why you'd want a vid over a machine name anyway. Tested fine for me. I'm a little worried about legacy, but the checks in the patch seemed to work for me.
Committed.