SuiteCRM icon indicating copy to clipboard operation
SuiteCRM copied to clipboard

Fix #9658 - SuiteCRM add duplicate dashlet when filter is used

Open SinergiaCRM opened this issue 2 years ago • 0 comments

Solves #9658

Description

The PR modifies the properties of the HTML element returned by the dashlet filter to be the same as the element that is displayed when no filter is applied, so that only one dashlet is added.

Motivation and Context

Avoid having to remove a dashlet when the dashlet filter has been used

How To Test This

  1. Access the Home view
  2. Filter to add a dashlet from any module
  3. Check that only one dashlet are added.

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • [x] My code follows the code style of this project found here.
  • [ ] My change requires a change to the documentation.
  • [x] I have read the How to Contribute guidelines.

SinergiaCRM avatar Jul 12 '22 17:07 SinergiaCRM