-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Restrict Node select to the site/language of the page being edited #2277
Conversation
039a333
to
828092f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure we want that as a default. There is the query_params
feature you could use for this.
If we don't want it as the default, are you suggesting that we add the Am I misunderstanding your suggestion or the code? |
You are right. This is not possible right now. Very tricky situation. I am currently a bit hesitant about restricting this, but maybe these are edge cases. Who wants to link display a menu of a foreign language? @mamhoff @robinboening wdyt? |
It does sound like an edge case to me and I don't see why anyone wanted to render a menu of another language. I could rather see how one could make a case where they want to render a menu of another site (same language) though. Still an edge case. I don't see this restriction as a bad thing, but let me ask you if/how the benefits of the restriction outweigh the loss of flexibility? |
Another site is another language. Even if the name is the same, the language id is different. |
Technically, yes. But from a less technical editor's perspective english is english. However, it would still be an edge case and right now a very theoretical one. So I think the suggested scopes ain't bad. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, let's go with it.
Restrict Node select to the site/language of the page being edited
What is this pull request for?
Restrict Node results to the current Site/Language in the EssenceNode editor.
Checklist