• Thong Kuah's avatar
    Various improvements to hierarchy sorting · f85440e6
    Thong Kuah authored
    - Rename ordered_group_clusters_for_project ->
    ancestor_clusters_for_clusterable
    - Improve name of order option. It makes much more sense to have `hierarchy_order: :asc`
    and `hierarchy_order: :desc`
    - Allow ancestor_clusters_for_clusterable for group
    - Re-use code already present in Project
    f85440e6
project.rb 62.2 KB