mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge pull request #90 from creative-commoners/pulls/4.0/filter-button-class
FIX Add primary button class to 'Filter' button
This commit is contained in:
commit
ece79fd2b2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user