Merge remote-tracking branch 'origin/4.0' into 4

This commit is contained in:
Damian Mooyman 2017-11-16 10:28:01 +13:00
commit cd94e99d89
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A

View File

@ -292,8 +292,8 @@ class Report extends ViewableData
}
// Add a search button
$formAction = new FormAction('updatereport', _t('SilverStripe\\Forms\\GridField\\GridField.Filter', 'Filter'));
$formAction->addExtraClass("mb-4");
$formAction = FormAction::create('updatereport', _t('SilverStripe\\Forms\\GridField\\GridField.Filter', 'Filter'));
$formAction->addExtraClass('btn-primary mb-4');
$fields->push($formAction);
}