From b8cacf2588e4f2f2521629dc03c69c16d6958876 Mon Sep 17 00:00:00 2001 From: Pawel Jasinski Date: Tue, 20 Nov 2018 21:21:04 +0100 Subject: [PATCH] updated to a new version of act-as-taggable-on --- lib/tagging_plugin/tagging_hooks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tagging_plugin/tagging_hooks.rb b/lib/tagging_plugin/tagging_hooks.rb index ce472b5..eb12b89 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