Skip to content

[question] Is it possible sort hash_tree? #295

Open
@wbotelhos

Description

@wbotelhos

I'm using hash_tree so build a comment tree where each comment has more or less likes.
I would like to sort the tree to put the comment with more like on top, but always inside each parent.

A parent comment with poor like will be keep above, even when its children has good rating. Just because I would like to sort from the root until the deeper one.

Any way to arquive it?
Thanks for this great gem. (:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions