#2798 - Bug found on "pipeline by sales stage" and "outcome by month" dashlets
Hi Jason,
Found a bug by doing some digging on those dashlets. They were not returning any data and noticed the sg where clause generated had secr.module = ''
I found out the source of the problem in both modules/Charts/Dashlets/OutcomeByMonthDashlet/OutcomeByMonthDashlet.php & modules/Charts/Dashlets/PipelineBySalesStageDashlet/PipelineBySalesStageDashlet.php. I changed the call
$group_where = SecurityGroup::getGroupWhere($report_bean->table_name,$report_bean->report_bean,$current_user->id);
to
$group_where = SecurityGroup::getGroupWhere($report_bean->table_name,$report_bean->module_name,$current_user->id);
to fix the issue. Could exist in other dashlets, but those are the only ones I use.
7 years ago
Wow. That's embarrassing. Nice catch. I'll get this fixed for the next release.
7 years ago
LOL
Thanks
7 years ago
Fixed in upcoming 2.9.5 release. Announcement will go out when it is ready.
7 years ago
works, thanks!