diff options
author | Joren De Groof <git@jorendegroof.be> | 2017-03-31 11:38:40 +0200 |
---|---|---|
committer | Joren De Groof <git@jorendegroof.be> | 2017-04-03 18:36:51 +0200 |
commit | d663b8de246a4307a283b464ab4b5344463d30c3 (patch) | |
tree | c0d739f9b3f325f0f95784559572501b12f44966 /lib | |
parent | 2faf955c241ce7e99111f8fd0cae2e7ab6167e5a (diff) | |
download | gitlab-ce-d663b8de246a4307a283b464ab4b5344463d30c3.tar.gz |
Fixes milestone/merge_request API endpoint to really scope the results
The MergeRequestsFinder uses the milestone_title instead of the
milestone_id
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/milestones.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/milestones.rb b/lib/api/milestones.rb index e7ab82f08db..a3ea619a2fb 100644 --- a/lib/api/milestones.rb +++ b/lib/api/milestones.rb @@ -139,7 +139,7 @@ module API finder_params = { project_id: user_project.id, - milestone_id: milestone.id, + milestone_title: milestone.title, sort: 'position_asc' } |