Merge branch '6' into 7

This commit is contained in:
github-actions 2024-05-29 08:42:11 +00:00
commit 0eac6aaca3

View File

@ -37,6 +37,7 @@ use SilverStripe\UserForms\Model\Submission\SubmittedForm;
use SilverStripe\UserForms\Model\EditableFormField; use SilverStripe\UserForms\Model\EditableFormField;
use SilverStripe\View\Requirements; use SilverStripe\View\Requirements;
use SilverStripe\Core\Config\Configurable; use SilverStripe\Core\Config\Configurable;
use SilverStripe\Dev\Deprecation;
/** /**
* Defines the user defined functionality to be applied to any {@link DataObject} * Defines the user defined functionality to be applied to any {@link DataObject}
@ -318,9 +319,11 @@ SQL;
$config->addComponent(new BulkManager); $config->addComponent(new BulkManager);
} }
$sort->setThrowExceptionOnBadDataType(false); Deprecation::withNoReplacement(function () use ($sort, $filter, $pagination) {
$filter->setThrowExceptionOnBadDataType(false); $sort->setThrowExceptionOnBadDataType(false);
$pagination->setThrowExceptionOnBadDataType(false); $filter->setThrowExceptionOnBadDataType(false);
$pagination->setThrowExceptionOnBadDataType(false);
});
// attach every column to the print view form // attach every column to the print view form
$columns['Created'] = 'Created'; $columns['Created'] = 'Created';