I've faced with the task when we need to create an view with 2nd level descendants for different parents with IDs provided by route argument. I see that there is no option to use Parent ID as contextual argument.
Here is small patch what can solve this.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | add_contextual_filter-draggableviews-2825899-10.patch | 1.14 KB | istryker |
Comments
Comment #2
alphawebgroupAdding the patch
Comment #3
alphawebgroupComment #4
istryker commentedCan you give me a use case?
Comment #5
istryker commentedComment #6
alphawebgroupHi, the use case is described in issue body above.
Comment #7
istryker commentedCan you give another example.
Comment #8
alphawebgroupit's a pretty simple case
we had to build the view of entities which have parent_id as a specific value, but this parent_id comes through the route context
Comment #9
istryker commentedComment #10
istryker commentedAdded arguments weight as well.
Comment #12
istryker commentedComment #13
alphawebgroupmany thanks!