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

index.RelatedFields example contradicts following documentation #11757

Open
ssyberg opened this issue Mar 13, 2024 · 0 comments
Open

index.RelatedFields example contradicts following documentation #11757

ssyberg opened this issue Mar 13, 2024 · 0 comments

Comments

@ssyberg
Copy link

ssyberg commented Mar 13, 2024

index.RelatedFields documentation shows an example with a nested FilterField and then in the very next section says the example does not work.

Pertinent section of the Wagtail docs

Two related sections:

Details

I don't actually know which section is incorrect, the example or the documentation contradicting it. Here we have an example showing a FilterField in a RelatedField:
image

Then the very next sentence states:
"It’s not possible to filter on any index.FilterFields within index.RelatedFields"

Perhaps there's some other reason to declare a FilterField within a RelatedField but if so I think that should be clarified right here.

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

No branches or pull requests

1 participant