Merge pull request #382 from rasstislav/patch-2

Update UserFormsGridFieldFilterHeader.php
This commit is contained in:
Daniel Hensby 2016-03-23 20:33:15 +00:00
commit 85f1490752

View File

@ -68,8 +68,8 @@ class UserFormsGridFieldFilterHeader extends GridFieldFilterHeader {
)));
$fields->push(new FieldGroup(new CompositeField(
$start = new DateField('StartFilter', 'From'),
$end = new DateField('EndFilter', 'Till')
$start = new DateField('StartFilter', _t('UserFormsGridFieldFilterHeader.FROM', 'From')),
$end = new DateField('EndFilter', _t('UserFormsGridFieldFilterHeader.TILL', 'Till'))
)));
foreach(array($start, $end) as $date) {