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

Nested tree and Sortable together #2828

Open
VictorKrasnov opened this issue Jun 25, 2024 · 0 comments
Open

Nested tree and Sortable together #2828

VictorKrasnov opened this issue Jun 25, 2024 · 0 comments

Comments

@VictorKrasnov
Copy link

I need to set the order of the root elements for a product catalog category entity. With the current Gedmo tree, I can only sort child nodes and cannot implement sorting since one entity can only have one repository.

The best solution for me would be the ability to specify and combine interfaces for the entity repository, for example NestedTreeRepositoryInterface, SortableRepositoryInterface (... DeletableRepositoryInterface, etc...) and adding the default functionality with traits like NestedTreeRepositoyTrait, SortableRepositoryTrait, etc...
Or could you implement any more solution to sort root nodes for Tree?

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

No branches or pull requests

1 participant