Few more corrections to the category filter, and field integration

This commit is contained in:
2019-06-09 23:19:34 +02:00
parent 37d3f1425e
commit c966720f79
7 changed files with 47 additions and 28 deletions

View File

@ -2702,6 +2702,11 @@ class Fields extends Structure
}
// get the xml extension name
$_extension = $this->setPlaceholders(ComponentbuilderHelper::getBetween($field['settings']->xml, 'extension="', '"'), $this->placeholders);
// if they left out the extention for some reason
if (!ComponentbuilderHelper::checkString($_extension))
{
$_extension = 'com_' . $this->componentCodeName . '.' . $otherView;
}
// load the category builder
$this->categoryBuilder[$view_name_list] = array('code' => $name, 'name' => $listLangName, 'extension' => $_extension);
// also set code name for title alias fix