-
Notifications
You must be signed in to change notification settings - Fork 77
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
OutdoorSite not assigned to a portal can be assigned as children of another OudoorSite with a specific portal #4354
Comments
To clarify the last point let's imagine we have:
If we call the outdoorSite parent endpoint like following:
|
Hum, I'm not sure about this issue. To me the The childs are supposed to be in the same area as the parent, so maybe we can simplify the mecanism : when an outdoorsite is a child we remove the |
I don't see it either. |
Yes, not sure how we should do. I find it more coherent to do like this than to do another special thing to automatically assign portals to children. Even if you are in Geotrek-admin and wantr to filter all your treks assigned to a portal, it is important to also have assigned the children to portals: It has never been a problem for my users that never asked me about that and assign portals to all objects they want to publish on each portal. |
I see multiples problems with portals (we diverge from the original issue but I think it's important to address the problem globally) :
|
Yes it would be a good thing to place this field with the publication fields in forms. |
To Reproduce
Steps to reproduce the behavior:
We should look at outdoorSites portals before linking them as parents/children.
At the very least, children which do not have the same portal as their parent should not be referenced in the list of
children
through the API.The text was updated successfully, but these errors were encountered: