zorab47 / active_admin-sortable_tree

Show ActiveAdmin index as a nested tree with drag'n'drop
MIT License
163 stars 127 forks source link

children_method and scoping #53

Closed Ewg777 closed 7 years ago

Ewg777 commented 8 years ago

Is it possible to scope children without scoping roots_collection?

zorab47 commented 8 years ago

An initial thought I proposed here was to add a conditional to be evaluated with each child to determine whether or not it should be rendered. See this thread: https://github.com/zorab47/active_admin-sortable_tree/issues/50#issuecomment-107059488. But the short answer is no, not currently.

zorab47 commented 7 years ago

Any update here? If so, I'll reopen the issue. But closing for now.