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

Limit Parents Levels #1298

Merged
merged 2 commits into from
Jan 19, 2018
Merged

Limit Parents Levels #1298

merged 2 commits into from
Jan 19, 2018

Conversation

hugoaf
Copy link
Contributor

@hugoaf hugoaf commented Dec 24, 2017

The main beneffit of this PR is to improve the parent selection when you have many pages.

This PR will add a field in blueprint and a limit var to the parents field in order to limit the levels of parents to show in admin forms. The parent levels limit filter was already implemented in pages field, so there was not much to change to make it work.

Solves part or act as a workarround for these issues:
#735, #902, #906, #941, #1035

In the future, this might be improved adding low and high level limits. Also having parents filter by page type would be great, or even adding a header parent: false by page basis. But for now this PR helps.

@rhukster rhukster merged commit 80a4649 into getgrav:develop Jan 19, 2018
@rhukster
Copy link
Member

Thanks, will be in next release

rhukster pushed a commit that referenced this pull request Jan 19, 2018
* Adding parents levels limit

* Adding parents levels limit
Flamenco pushed a commit to Flamenco/grav-plugin-admin that referenced this pull request Mar 15, 2018
* Adding parents levels limit

* Adding parents levels limit
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

Successfully merging this pull request may close these issues.

2 participants