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.

Comments

alweb created an issue. See original summary.

alphawebgroup’s picture

StatusFileSize
new498 bytes

Adding the patch

alphawebgroup’s picture

Category: Feature request » Task
Status: Active » Needs review
istryker’s picture

Can you give me a use case?

istryker’s picture

Status: Needs review » Postponed (maintainer needs more info)
alphawebgroup’s picture

Hi, the use case is described in issue body above.

istryker’s picture

Can you give another example.

alphawebgroup’s picture

it'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

istryker’s picture

Status: Postponed (maintainer needs more info) » Needs review
istryker’s picture

Title: Allow an option use Parent ID as contextual argument » Allow an option use Weight and Parent ID as contextual argument
StatusFileSize
new1.14 KB

Added arguments weight as well.

  • iStryker authored 6db69fd on 8.x-1.x
    Issue #2825899 by alphawebgroup, iStryker: Allow an option use Weight...
istryker’s picture

Status: Needs review » Fixed
alphawebgroup’s picture

many thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.