zorab47 / active_admin-sortable_tree

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

Passing argument in children_method #82

Open chanwooro opened 4 years ago

chanwooro commented 4 years ago

I want to implement child-level filter but I understand tree structure is not for this purpose. But is there any way to pass the argument in children_method? If I can pass an argument, then I can probably filter from children_method based on the argument.

Eg. children_method: method(arg1)

Thank you