CiviReport 'Available for Dashboard' checkbox lost functionality
Overview
The ‘Available for Dashboard?’ checkbox on CiviReports has lost its functionality.
Reproduction steps
- On an existing or new CiviReport, click on the Access tab
- If it is a new report, add a title on the Title and Format tab to make sure the report can be easily found.
- Check the box next to the Available for Dashboard? label
- Save the report from the Actions menu.
- Go to the CiviCRM home page and do a hard reload (or even a cache clear)
- Note that the report is either still present as an available dashlet
or not listed at all.
Current behaviour
Unchecking the Available for Dashboard? box on an existing CiviReport that is already available as a dashlet does not remove the report from the list of available dashlets on the CiviCRM home page
Checking the Available for Dashboard? on a new or existing CiviReport does not add it to the list of available dashlets on the CiviCRM page.
Deleting a report also does not remove the dashlet from the available options, however, the user will encounter a non-fatal error message that ‘You have tried to access a report that does not exist.’
Expected behaviour
The Available for Dashboard? checkbox should accurately control whether the report is or is not available as a dashlet.
Environment information
- CiviCRM: 5.67.0