mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
BUGFIX Include main site in SubsiteReportWrapper drop down selection
This commit is contained in:
parent
552a6e784d
commit
da8a313881
@ -9,7 +9,7 @@ class SubsiteReportWrapper extends SS_ReportWrapper {
|
||||
// Filtering
|
||||
|
||||
function parameterFields() {
|
||||
$subsites = Subsite::accessible_sites('CMS_ACCESS_CMSMain');
|
||||
$subsites = Subsite::accessible_sites('CMS_ACCESS_CMSMain', true);
|
||||
$options = $subsites->toDropdownMap('ID', 'Title');
|
||||
|
||||
$subsiteField = new TreeMultiselectField('Subsites', 'Sites', $options);
|
||||
|
Loading…
Reference in New Issue
Block a user