mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
FIX Parameter order
This commit is contained in:
parent
a67b7ef45f
commit
f50cd3e348
@ -36,7 +36,7 @@ class SubsiteReportWrapper extends ReportWrapper
|
||||
|
||||
$fields = parent::parameterFields();
|
||||
if ($fields) {
|
||||
$fields->insertBefore($subsiteField, $fields->First()->Name());
|
||||
$fields->insertBefore($fields->First()->Name(), $subsiteField);
|
||||
} else {
|
||||
$fields = FieldList::create($subsiteField);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user