mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Update UserFormsGridFieldFilterHeader.php
This commit is contained in:
parent
2eb7710a19
commit
8f1986fc6a
@ -68,8 +68,8 @@ class UserFormsGridFieldFilterHeader extends GridFieldFilterHeader {
|
|||||||
)));
|
)));
|
||||||
|
|
||||||
$fields->push(new FieldGroup(new CompositeField(
|
$fields->push(new FieldGroup(new CompositeField(
|
||||||
$start = new DateField('StartFilter', 'From'),
|
$start = new DateField('StartFilter', _t('UserFormsGridFieldFilterHeader.FROM', 'From')),
|
||||||
$end = new DateField('EndFilter', 'Till')
|
$end = new DateField('EndFilter', _t('UserFormsGridFieldFilterHeader.TILL', 'Till'))
|
||||||
)));
|
)));
|
||||||
|
|
||||||
foreach(array($start, $end) as $date) {
|
foreach(array($start, $end) as $date) {
|
||||||
|
Loading…
Reference in New Issue
Block a user