mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Changed Dropdown value to language specific to allow setting default to 'any'
This commit is contained in:
parent
aefda19ffa
commit
7e1b8a834c
@ -151,7 +151,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
function SearchForm() {
|
||||
// get all page types in a dropdown-compatible format
|
||||
$pageTypes = SiteTree::page_type_classes();
|
||||
array_unshift($pageTypes, 'All');
|
||||
array_unshift($pageTypes, _t('CMSMain.PAGETYPEANYOPT','Any'));
|
||||
$pageTypes = array_combine($pageTypes, $pageTypes);
|
||||
asort($pageTypes);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user