Restream / redmine_custom_reports

Redmine plugin for reports and charts
55 stars 37 forks source link

Renamed issue_count_by_group to result_count_by_group (RedMine 3.4) #41

Closed redneckbubba closed 6 years ago

redneckbubba commented 6 years ago

Renamed issue_count_by_group to result_count_by_group for Redmine 3.4 compatibility. Prior to Redmine 3.4, there were two versions of the same method. issue_count_by_group and result_count_by_group. As of Redmine 3.4 there is only one (result_count_by_group). Therefore, this change will allow the plugin to work in 3.4 while also maintaining compatibility with previous releases.

Resolves Issue #38

jthistlethwaite commented 6 years ago

I am encountering this same error. Here is my install info:

Environment: Redmine version 3.0.3.stable Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux-gnu] Rails version 4.2.1 Environment production Database adapter Mysql2 SCM: Subversion 1.8.10 Mercurial 3.1.2 Bazaar 2.7.0 Git 2.1.4 Filesystem
Redmine plugins: a_common_libs 2.1.10 redmine_agile 1.4.4 redmine_checklists 3.1.5 redmine_ckeditor 1.1.4 redmine_contacts 4.0.4 redmine_contacts_helpdesk 3.0.4 redmine_custom_reports 0.1.5 redmine_issue_tabs 1.1.1 redmine_mentions 0.0.1 redmine_monitoring_controlling 0.1.1 redmine_per_project_formatting 0.0.4 redmine_work_time 0.3.1

jthistlethwaite commented 6 years ago

I can verify that reverting this commit fixes the problem.