diff options
author | Kate Butler <kate@innocraft.com> | 2019-10-01 02:01:40 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2019-10-01 02:01:40 +0300 |
commit | 546d429972b7f1b9b4ca869ffc32d44b13935d39 (patch) | |
tree | 60cbfd48842423725d893ab6530e02e5c1e6a51a /core/ViewDataTable | |
parent | 0fc4d1d1cc7c18d3fbe7a5594fcfb7b6c57f39aa (diff) |
Add a configurable row limit to report export popover (#14913)
* Add a configurable row limit to report export popover
* Don't validate input against max limit when it's not set
Diffstat (limited to 'core/ViewDataTable')
-rw-r--r-- | core/ViewDataTable/Config.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/ViewDataTable/Config.php b/core/ViewDataTable/Config.php index 73edd7e8a7..4576dd339f 100644 --- a/core/ViewDataTable/Config.php +++ b/core/ViewDataTable/Config.php @@ -495,6 +495,12 @@ class Config public $disable_all_rows_filter_limit = false; /** + * Sets a limit for the maximum number of rows that can be exported. + * @var int + */ + public $max_export_filter_limit = -1; + + /** * Message to show if not data is available for the report * Defaults to `CoreHome_ThereIsNoDataForThisReport` if not set * |