Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting nested data as prefix doesn't work #17

Open
AristideBH opened this issue Mar 20, 2024 · 0 comments
Open

Getting nested data as prefix doesn't work #17

AristideBH opened this issue Mar 20, 2024 · 0 comments

Comments

@AristideBH
Copy link

Hello, and firstly, thanks for your interface !

I have been using it for as simple page slug for now, and it is extremely helpful.
But I am now trying to setup a more complex data model, where each page can have a parent page.
I got this part working using relational fields.

I'm now trying to set the child slug prefixed with the parent slug if it is present.
I have set a condition to the fields, for when it has a parent page linked, the prefix should be {{parent.slug}}/.

The result of this is a slug missing the variable, like so /page-slug, instead of parent-slug/page-slug.

However, setting the prefix to simply {{parent}}/ does correctly output the parent ID.
In my case it is an UUID, and therefore the page slug results in parent-uuid/page-slug.

It is supposed to work like so ?
I feel it should as nested data is listed in the prefix field

Hope my request is clear ;) thanks in advance !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant