Nested tree and Sortable together
VictorKrasnov opened this issue · 0 comments
VictorKrasnov commented
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?