Go to file
Guy Sartorelli aa085022a1
Merge pull request #169 from heyday/4
FIX broken URL builder when using MultiSelectFields as parameters
2023-09-26 10:35:41 +13:00
_config New style travis tests 2017-06-26 21:45:56 +12:00
.github/workflows MNT Standardise modules 2022-08-01 15:36:42 +12:00
.tx ENH Update translations 2023-03-06 18:20:21 +13:00
code Use Injector to instantiate new base report instances 2022-08-26 13:53:16 +12:00
javascript FIX broken URL builder when using MultiSelectFields as parameters 2023-09-21 13:21:46 +12:00
lang ENH Update translations (#167) 2023-08-21 12:56:04 +12:00
templates/SilverStripe/Reports/Includes FIX Apply missing class to report header. 2018-07-27 17:06:38 +12:00
tests ENH Fix phpcs violations 2022-08-26 13:53:08 +12:00
.editorconfig Update editorconfig 2017-10-12 12:57:05 +13:00
.gitattributes Feature Set .gitattributes to ignore docs and tests folder, and some source asset files which are not needed 2017-12-13 12:32:55 +13:00
.gitignore MINOR: gitignore of mac .DS_Store files 2011-09-28 11:44:30 +13:00
.upgrade.yml Add extra upgrade rules 2017-07-03 14:32:26 +12:00
code-of-conduct.md Added standard code of conduct 2015-12-16 11:07:23 +13:00
composer.json MNT Revert erroneous dependency changes (#161) 2023-03-28 16:43:12 +13:00
CONTRIBUTING.md Create CONTRIBUTING.md 2016-05-30 14:37:53 +12:00
LICENSE FIX: Rename license file to match module standard. 2017-03-29 12:58:41 +13:00
phpcs.xml.dist MNT Update phpcs ruleset to use PSR-12 as a base 2022-08-26 13:48:51 +12:00
phpunit.xml.dist MNT Standardise modules 2022-08-01 15:36:42 +12:00
README.md Merge branch '4.10' into 4.11 2022-08-02 18:38:08 +12:00

Reports

CI Silverstripe supported module

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.