diff --git a/lib/tagging_plugin/tagging_hooks.rb b/lib/tagging_plugin/tagging_hooks.rb index ce472b5..232a7c1 100755 --- a/lib/tagging_plugin/tagging_hooks.rb +++ b/lib/tagging_plugin/tagging_hooks.rb @@ -192,7 +192,7 @@ def view_issues_bulk_edit_details_bottom(context = {}) def view_reports_issue_report_split_content_right(context={}) project_context = ContextHelper.context_for(context[:project]) - tags = ActsAsTaggableOn::Tagging.find_all_by_context(project_context).map(&:tag).uniq + tags = ActsAsTaggableOn::Tagging.where(context: project_context).map(&:tag).uniq tags_by_status = IssueTag.by_issue_status(context[:project]) <<-HTML