laravel-nestedset
                                
                                 laravel-nestedset copied to clipboard
                                
                                    laravel-nestedset copied to clipboard
                            
                            
                            
                        Effective tree structures in Laravel 4-8
Is there a way to determine a nodes position in the ordered tree? My goal is to have index numbering like in this tree without going through the tree all...
### Description Using `withDepth` results in a mysql error caused by a superfluous `*` selector. Changing the library code like below solves the issue. ### Versions: kalnoy/nestedset: **6.0.0** laravel/framework: **8.48.1**...
Hi, I have a list of categories and subcategories and I want to display the pagination without considering the parent of the child, so that if we have 2 categories...
`Model::withDepth()->get()` returns associative collection where keys are strings with numbers instead of indexed collection (like in `Model::query()->get()`). Steps to reproduce: 1. Create new laravel application (in my case `laravel/framework` version...
Maybe this issue is not an issue of this library but an error in my code, but I am unable to track down the root cause. It simply manifests as...
I have an ids array of collapsed item ids and want to check if item.id is equal to one of the ids, then return the empty children array, otherwise return...
Added a few scopes to filter node entities using the NodeTrait
Perhaps similar to #409 I have a search method that returns categories with descendants. I want to flatten the result. E.g. `\App\Models\Category::search('movie')` ``` => Kalnoy\Nestedset\Collection {#4852 all: [ App\Models\Category {#4874...
Hello I tried with this package and this is really awesome. Actually, I tried this package for MLM Tree work, and it works fine. Now I have two things when...