File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3737use SilverStripe \UserForms \Model \EditableFormField ;
3838use SilverStripe \View \Requirements ;
3939use SilverStripe \Core \Config \Configurable ;
40+ use SilverStripe \Dev \Deprecation ;
4041
4142/**
4243 * Defines the user defined functionality to be applied to any {@link DataObject}
@@ -318,9 +319,11 @@ public function getSubmissionsGridField()
318319 $ config ->addComponent (new BulkManager );
319320 }
320321
321- $ sort ->setThrowExceptionOnBadDataType (false );
322- $ filter ->setThrowExceptionOnBadDataType (false );
323- $ pagination ->setThrowExceptionOnBadDataType (false );
322+ Deprecation::withNoReplacement (function () use ($ sort , $ filter , $ pagination ) {
323+ $ sort ->setThrowExceptionOnBadDataType (false );
324+ $ filter ->setThrowExceptionOnBadDataType (false );
325+ $ pagination ->setThrowExceptionOnBadDataType (false );
326+ });
324327
325328 // attach every column to the print view form
326329 $ columns ['Created ' ] = 'Created ' ;
You can’t perform that action at this time.
0 commit comments