atayahmet / laravel-nestable

Laravel 5 nested category/menu generator
MIT License
214 stars 52 forks source link

Added filter to the NestableTrait #59

Closed bderubinat closed 6 years ago

bderubinat commented 6 years ago

This evolution let you filter the elements to be rendered.

bderubinat commented 6 years ago

Also added orderBy in the NestableTrait

atayahmet commented 6 years ago

Hi @bderubinat

First of all thank you for your contribution. The features you have added are useful, but these are features that you can apply outside the package. For example, a macro can be created and processes such as filtering or sorting can be done easily.

See: Macros

It seems to me that these features cause the package to slip out of its main purpose.