• zs's avatar
    State specific default sort order for issuables · 84a3225b
    zs authored
    Provide more sensible default sort order for issues and merge requests
    based on the following table:
    
    | type           | state  | default sort order |
    |----------------|--------|--------------------|
    | issues         | open   | last created       |
    | issues         | closed | last updated       |
    | issues         | all    | last created       |
    | merge requests | open   | last created       |
    | merge requests | merged | last updated       |
    | merge requests | closed | last updated       |
    | merge requests | all    | last created       |
    84a3225b
sorting_helper.rb 2.94 KB