Fixed gcategory column naming issue in array query.

This commit is contained in:
Llewellyn van der Merwe 2020-11-30 18:49:12 +02:00
parent 3324576c95
commit 732521b3ab
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
3 changed files with 4 additions and 3 deletions

View File

@ -15399,7 +15399,8 @@ class Interpretation extends Fields
$query .= PHP_EOL . $this->_t(3)
. "\$categoryId = implode(',', \$categoryId);";
$query .= PHP_EOL . $this->_t(3)
. "\$query->where('a.category IN (' . \$categoryId . ')');";
. "\$query->where('a." . $categoryCodeName
. " IN (' . \$categoryId . ')');";
$query .= PHP_EOL . $this->_t(2) . "}";
$query .= PHP_EOL;
}

View File

@ -423,7 +423,7 @@ class ComponentbuilderModelFields extends JModelList
{
ArrayHelper::toInteger($categoryId);
$categoryId = implode(',', $categoryId);
$query->where('a.category IN (' . $categoryId . ')');
$query->where('a.catid IN (' . $categoryId . ')');
}

View File

@ -216,7 +216,7 @@ class ComponentbuilderModelFieldtypes extends JModelList
{
ArrayHelper::toInteger($categoryId);
$categoryId = implode(',', $categoryId);
$query->where('a.category IN (' . $categoryId . ')');
$query->where('a.catid IN (' . $categoryId . ')');
}