FIX Parameter order

This commit is contained in:
Steve Boyd 2023-01-19 21:21:42 +13:00
parent a67b7ef45f
commit f50cd3e348

View File

@ -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);
}