mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Use new DateField->setHTML5()
See https://github.com/silverstripe/silverstripe-framework/issues/6626
This commit is contained in:
parent
b7dff27ec1
commit
d07115e665
@ -432,12 +432,10 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
'q[LastEditedFrom]',
|
||||
_t('CMSSearch.FILTERDATEFROM', 'From')
|
||||
);
|
||||
$dateFrom->setShowCalendar(true);
|
||||
$dateTo = new DateField(
|
||||
'q[LastEditedTo]',
|
||||
_t('CMSSearch.FILTERDATETO', 'To')
|
||||
);
|
||||
$dateTo->setShowCalendar(true);
|
||||
$pageFilter = new DropdownField(
|
||||
'q[FilterClass]',
|
||||
_t('CMSMain.PAGES', 'Page status'),
|
||||
|
Loading…
Reference in New Issue
Block a user