mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
API Support bulk editing tools if available
This commit is contained in:
parent
b75fc3c51e
commit
b7429910d5
@ -137,6 +137,13 @@ SQL;
|
||||
$config->addComponent($export = new GridFieldExportButton());
|
||||
$config->addComponent($print = new GridFieldPrintButton());
|
||||
|
||||
/**
|
||||
* Support for {@link https://github.com/colymba/GridFieldBulkEditingTools}
|
||||
*/
|
||||
if(class_exists('GridFieldBulkManager')) {
|
||||
$config->addComponent(new GridFieldBulkManager());
|
||||
}
|
||||
|
||||
$sort->setThrowExceptionOnBadDataType(false);
|
||||
$filter->setThrowExceptionOnBadDataType(false);
|
||||
$pagination->setThrowExceptionOnBadDataType(false);
|
||||
|
@ -11,5 +11,8 @@
|
||||
"require": {
|
||||
"silverstripe/framework": ">=3.1.0",
|
||||
"silverstripe/cms": ">=3.1.0"
|
||||
},
|
||||
"suggest": {
|
||||
"colymba/gridfield-bulk-editing-tools": "Allows for bulk management of form submissions"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user