gitlab-org--gitlab-foss/app/views/projects/issues
Rémy Coutable e570b823c1 Merge branch '15064_issuable_default_sort_order' into 'master'
Sensible state specific default sort order for issues and merge requests

## What does this MR do?

It provides 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       |

## Are there points in the code the reviewer needs to double check?

All the bits where `id_desc` was changed to `created_desc`.
 
I hope it's okay, It makes more sense in my opinion.

## Why was this MR needed?

Prior to this MR the issues and merge request were sorted based on `id_desc` by default. 

This MR aims to make the interface more user-friendly by providing state specific sorting defaults most users would expect. 

## What are the relevant issue numbers?

See #15064 

See merge request !5453
2016-08-01 12:02:47 +00:00
..
_closed_by_box.html.haml
_discussion.html.haml
_form.html.haml
_head.html.haml
_issue.html.haml
_issue_by_email.html.haml Merge some repeated codes to the partial 2016-07-27 18:07:11 +08:00
_issues.html.haml
_merge_requests.html.haml
_new_branch.html.haml
_related_branches.html.haml Update to gitlab_git 10.4.1 and take advantage of preserved Ref objects 2016-07-28 12:24:47 -04:00
edit.html.haml
index.atom.builder
index.html.haml State specific default sort order for issuables 2016-08-01 11:28:56 +02:00
new.html.haml
show.html.haml Make "New issue" button in Issue page less obtrusive (!5457) 2016-07-30 00:28:09 +02:00