by eggsurplus

Control what your users can access and save time, money, and frustrations. Lock down sensitive data in SugarCRM or SuiteCRM to specific groups or teams. Supports unlimited assigned users, unlimited group assignments to records, custom layouts for each group, login/sudo capabilities and much more.

Free 30 day trial
Try it Now

By clicking you consent to share your profile with the developer

#2798 - Bug found on "pipeline by sales stage" and "outcome by month" dashlets

Closed Bug? created by Stefan 8 years ago
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.
  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    8 years ago

  2. eggsurplus member avatar

    eggsurplus Provider Affiliate

    8 years ago

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "This impressive add on is easy to use, extremely flexible, and huge time saver. This add on exceeded our expectations and is worth every penny!"

    Read More Reviews