Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

Commit

Permalink
This fixes Restream#8 of support for redmine 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Leishman committed Oct 5, 2016
1 parent d4ac201 commit 9f8d6c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 7 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
gem 'hashie'
gem 'deface', '< 1.0.0'

group :development do
gem 'diffy'
source 'https://rubygems.org' do
gem 'hashie'
gem 'deface', '~> 1.0.0'

group :development do
gem 'diffy'
end
end
3 changes: 2 additions & 1 deletion lib/redmine_digest/digest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ def get_created_issue_ids
end

def get_issues_scope(issue_ids)
Issue.includes(:author, :project, :journals => [:user, :details]).
Issue.includes(:author, :journals => [:user, :details]).
where('issues.id in (?)', issue_ids).
joins(:project).
where(Issue.visible_condition(user))
end

Expand Down

0 comments on commit 9f8d6c9

Please sign in to comment.