etrepat / baum

Baum is an implementation of the Nested Set pattern for Laravel's Eloquent ORM.
http://etrepat.com/baum
MIT License
2.24k stars 460 forks source link

NestedList not using depth for anything but indentation #179

Closed lriggle-strib closed 3 years ago

lriggle-strib commented 9 years ago

Calling getNestedList doesn't actually use the hierarchy in a way that makes sense. Items are arranged by the order field only, so instead of seeing something like:

* United States of America
   * Minnesota
      * Aitkin County
         * 9th District Court
         * District 3B
      * Anoka County
         * 10th District Court
         * Andover
         * Anoka 

I get:

         * 10th District Court
         * 9th District Court
      * Aitkin County
         * Andover
         * Anoka
      * Anoka County
         * District 3B
   * Minnesota
* United States of America
lriggle-strib commented 3 years ago

This project is clearly abandoned, and I don't want this issue cluttering up my dashboard anymore.