|
5 months ago | |
---|---|---|
.github/workflows | 6 months ago | |
.tx | 6 years ago | |
_config | 6 years ago | |
code | 5 months ago | |
javascript | 6 years ago | |
lang | 2 years ago | |
templates/SilverStripe/Reports/Includes | 5 years ago | |
tests | 5 months ago | |
.editorconfig | 5 years ago | |
.gitattributes | 5 years ago | |
.gitignore | 12 years ago | |
.upgrade.yml | 6 years ago | |
CONTRIBUTING.md | 7 years ago | |
LICENSE | 6 years ago | |
README.md | 6 months ago | |
code-of-conduct.md | 7 years ago | |
composer.json | 11 months ago | |
phpcs.xml.dist | 5 months ago | |
phpunit.xml.dist | 6 months ago |
README.md
Reports
Introduction
This module contains the API's for building Reports that are displayed in the Silverstripe backend. This module replaces the built-in reports API from earlier versions of Silverstripe (2.4 and 3.0).
Requirements
- Silverstripe 4.0
Troubleshooting
The reports section will not show up in the CMS if:
- There are no reports to show
- The logged in user does not have permission to view any reports
For large datasets, the reports section may take a long time to load, since each report is getting a count of the items it contains to display next to the title.
To mitigate this issue, there is a cap on the number of items that will be counted per report. This is set at 10,000 items by default, but can be configured using the limit_count_in_overview
configuration variable. Setting this to null
will result in showing the actual count regardless of how many items there are.
SilverStripe\Reports\Report:
limit_count_in_overview: 500
Note that some reports may have overridden the getCount
method, and for those reports this may not apply.