diff options
author | Dominik Sander <git@dsander.de> | 2015-04-30 23:29:00 +0200 |
---|---|---|
committer | Dominik Sander <git@dsander.de> | 2015-05-01 01:12:58 +0200 |
commit | e6ee8d0ebebc217e247558507eac619931a47121 (patch) | |
tree | 5b313baddb457928d5fdc23136b86761c87fea34 /spec/finders | |
parent | 8d17e79d1dfc8fb415b3fe4dbabd11659fa6c42e (diff) | |
download | gitlab-ce-e6ee8d0ebebc217e247558507eac619931a47121.tar.gz |
Group milestones by title in the dashboard and all other issue views
This groups milestones by title for issue views like it has been done for
the milestone dashboard/project overview. Before milestones with the
same title would show up multiple times in the filter dropdown and one could
only filter per project and milestone. Now the milestone filter is based
on the title of the milestone, i.e. all issues marked with the same
milestone title are shown.
Diffstat (limited to 'spec/finders')
-rw-r--r-- | spec/finders/issues_finder_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/issues_finder_spec.rb b/spec/finders/issues_finder_spec.rb index 479fa950387..69bac387d20 100644 --- a/spec/finders/issues_finder_spec.rb +++ b/spec/finders/issues_finder_spec.rb @@ -43,7 +43,7 @@ describe IssuesFinder do end it 'should filter by milestone id' do - params = { scope: "all", milestone_id: milestone.id, state: 'opened' } + params = { scope: "all", milestone_title: milestone.title, state: 'opened' } issues = IssuesFinder.new.execute(user, params) expect(issues).to eq([issue1]) end |