Bug Description
When using "link" collections to redirect to first child, the is_parent variable is always false when building a navigation tree.
How to Reproduce
- In the "Pages" collection choose "Edit Collection", enable "Links" and save
- Create a new entry in the "Pages" collection and choose the Blueprint "Link"
- Set a title and select "First Child" as Redirect. Save.
- Add a child entry using the Blueprint "Pages"
- Create a navigation and add those two entries. The "Link" entry is the parent, the "Pages" entry the child. Save.
- Now create a navigation tree in a template using the
nav tag (use the "Multi-level Nav Example Recursion" from the docs).
is_parent is always false. Doing the same only with "Pages" Blueprints works.
Environment
Statamic version: 3.0.3
PHP version: 7.3
Install method (choose one):
- Fresh install from
statamic/statamic
Bug Description
When using "link" collections to redirect to first child, the is_parent variable is always false when building a navigation tree.
How to Reproduce
navtag (use the "Multi-level Nav Example Recursion" from the docs).is_parent is always false. Doing the same only with "Pages" Blueprints works.
Environment
Statamic version: 3.0.3
PHP version: 7.3
Install method (choose one):
statamic/statamic