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
@ -136,6 +136,13 @@ SQL;
|
|||||||
$config->addComponent(new GridFieldDetailForm());
|
$config->addComponent(new GridFieldDetailForm());
|
||||||
$config->addComponent($export = new GridFieldExportButton());
|
$config->addComponent($export = new GridFieldExportButton());
|
||||||
$config->addComponent($print = new GridFieldPrintButton());
|
$config->addComponent($print = new GridFieldPrintButton());
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Support for {@link https://github.com/colymba/GridFieldBulkEditingTools}
|
||||||
|
*/
|
||||||
|
if(class_exists('GridFieldBulkManager')) {
|
||||||
|
$config->addComponent(new GridFieldBulkManager());
|
||||||
|
}
|
||||||
|
|
||||||
$sort->setThrowExceptionOnBadDataType(false);
|
$sort->setThrowExceptionOnBadDataType(false);
|
||||||
$filter->setThrowExceptionOnBadDataType(false);
|
$filter->setThrowExceptionOnBadDataType(false);
|
||||||
|
@ -11,5 +11,8 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"silverstripe/framework": ">=3.1.0",
|
"silverstripe/framework": ">=3.1.0",
|
||||||
"silverstripe/cms": ">=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