Skip to content

4.1.1 Change: SUB COLLECTION, hidden in tree #386

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

Open
wants to merge 3 commits into
base: 3.x
Choose a base branch
from

Conversation

SilverMabol
Copy link

Now, nested collections are show in the tree.
With this change you can decide whether to hide them

First I created the System Setting mostra_sub_collections_tree and their lexicon.
If this is false, collection hide in tree.

I only changed some functions in 2 events, only those that, in my opinion, occurred in this setting (show/hide in tree).
The other functions don't intervene, it seems to me

The other processor/event that conteint show_in_tree are
Events\OnBeforeEmptyTrash
Processors\Resource\ChangeChildParent.php
Processors\Resource\ChangeParent.php
They do not affect setting (i think :))

Lexicon for system setting
Show collection in tree, if you want
Show collection in tree, if you want
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.

1 participant