diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-06-08 00:14:23 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-06-16 17:59:39 +0300 |
commit | 86fc145c3c0c5056d7c6be1d62cd0b5beec2b1a9 (patch) | |
tree | bffa58304afe9cb8e0d0e9e9a632a49389934e67 /lib/api/milestones.rb | |
parent | ff7fe2d12dec6c76b5a90b2c95cca81152cc5d42 (diff) |
Order issues by priority
Diffstat (limited to 'lib/api/milestones.rb')
-rw-r--r-- | lib/api/milestones.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/milestones.rb b/lib/api/milestones.rb index e26011db174..3541d3c95fb 100644 --- a/lib/api/milestones.rb +++ b/lib/api/milestones.rb @@ -117,7 +117,7 @@ module API finder_params = { project_id: user_project.id, milestone_title: milestone.title, - sort: 'created_desc' + sort: 'label_priority' } issues = IssuesFinder.new(current_user, finder_params).execute @@ -140,7 +140,7 @@ module API finder_params = { project_id: user_project.id, milestone_title: milestone.title, - sort: 'created_desc' + sort: 'label_priority' } merge_requests = MergeRequestsFinder.new(current_user, finder_params).execute |