gitlab-org--gitlab-foss/app/helpers
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
..
appearances_helper.rb Add new stopwatch and commit icons; rename custom icon helper; fix commit pipeline layout 2016-07-12 14:52:59 -05:00
application_helper.rb State specific default sort order for issuables 2016-08-01 11:28:56 +02:00
application_settings_helper.rb Use keyword arguments for boolean values and use span instead of a for clone "button" 2016-07-05 16:54:22 -05:00
auth_helper.rb
avatars_helper.rb Add link to user profile to commit avatar (!5163) 2016-07-20 17:44:28 +02:00
blob_helper.rb Improve diff performance by eliminating redundant checks for text blobs 2016-07-29 21:06:50 -07:00
branches_helper.rb implements the basic filter functionality 2016-07-19 19:30:10 +01:00
broadcast_messages_helper.rb
button_helper.rb Display tooltip for "Copy to Clipboard" button (!5164) 2016-07-11 14:20:48 +02:00
ci_status_helper.rb Fix ci icons getting cut off 2016-07-21 08:14:10 -07:00
commits_helper.rb Remove magic comments from Ruby files (!5456) 2016-07-24 07:08:45 +02:00
compare_helper.rb
dashboard_helper.rb
diff_helper.rb Merge branch 'rubocop/enable-access-modifiers-cops' into 'master' 2016-07-29 15:58:09 +00:00
dropdowns_helper.rb Revert "Revert "Merge branch 'issue_3946' into 'master' "" 2016-07-07 23:48:02 -04:00
emails_helper.rb
events_helper.rb
explore_helper.rb
external_wiki_helper.rb speed up ExternalWikiService#get_project_wiki_path 2016-07-19 09:06:58 -04:00
form_helper.rb
git_helper.rb
gitlab_markdown_helper.rb
gitlab_routing_helper.rb
graph_helper.rb
groups_helper.rb
icons_helper.rb
import_helper.rb
issuables_helper.rb Revert "Merge branch 'gl-dropdown-issuable-form' into 'master'" 2016-07-15 23:46:29 +00:00
issues_helper.rb Moved merge request button visibility out of issue_helper 2016-07-11 08:51:18 +01:00
javascript_helper.rb
kerberos_spnego_helper.rb
labels_helper.rb
members_helper.rb
merge_requests_helper.rb Merge branch 'mr-close-btn' into 'master' 2016-07-11 18:00:55 +00:00
milestones_helper.rb
namespaces_helper.rb
nav_helper.rb
notes_helper.rb Optimize maximum user access level lookup in loading of notes 2016-07-26 15:33:05 -07:00
notifications_helper.rb
page_layout_helper.rb
preferences_helper.rb
projects_helper.rb Merge branch 'top-links-label' into 'master' 2016-07-14 13:50:38 +00:00
runners_helper.rb
search_helper.rb fix missing repo_ref param 2016-07-22 17:42:24 +01:00
selects_helper.rb Allow skipping users in autocomplete 2016-07-27 14:10:49 +01:00
services_helper.rb Refactor service settings view 2016-07-20 12:11:37 -03:00
snippets_helper.rb
sorting_helper.rb State specific default sort order for issuables 2016-08-01 11:28:56 +02:00
submodule_helper.rb
tab_helper.rb
tags_helper.rb
time_helper.rb Cast duration to integer in TimeHelper#time_interval_in_words 2016-07-21 12:18:34 +02:00
todos_helper.rb Merge branch 'approval-required-todo' into 'master' 2016-07-12 19:50:33 +00:00
tree_helper.rb
triggers_helper.rb
u2f_helper.rb Load Javascript U2F library selectively. 2016-07-14 08:19:09 +05:30
version_check_helper.rb
visibility_level_helper.rb
workhorse_helper.rb Merge branch 'send-entry-via-Gitlab-Workhorse-Send-Data' into 'master' 2016-07-11 16:18:37 +00:00