Fixed gcategory column naming issue in array query.

This commit is contained in:
Llewellyn committed 2020-11-30 18:49:12 +02:00
1 parent 3324576c95
commit 732521b3ab
3 files changed
+4 -3

No files matched your search

+2 -1
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;
}
+1 -1
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 . ')');
}
+1 -1
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 . ')');
}