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 · 1 comment
Open

Nested tree and Sortable together #2828

VictorKrasnov opened this issue Jun 25, 2024 · 1 comment
Labels

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?

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant