forked from joomla/Component-Builder
Fixed gcategory column naming issue in array query.
This commit is contained in:
parent
3324576c95
commit
732521b3ab
@ -15399,7 +15399,8 @@ class Interpretation extends Fields
|
|||||||
$query .= PHP_EOL . $this->_t(3)
|
$query .= PHP_EOL . $this->_t(3)
|
||||||
. "\$categoryId = implode(',', \$categoryId);";
|
. "\$categoryId = implode(',', \$categoryId);";
|
||||||
$query .= PHP_EOL . $this->_t(3)
|
$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 . $this->_t(2) . "}";
|
||||||
$query .= PHP_EOL;
|
$query .= PHP_EOL;
|
||||||
}
|
}
|
||||||
|
@ -423,7 +423,7 @@ class ComponentbuilderModelFields extends JModelList
|
|||||||
{
|
{
|
||||||
ArrayHelper::toInteger($categoryId);
|
ArrayHelper::toInteger($categoryId);
|
||||||
$categoryId = implode(',', $categoryId);
|
$categoryId = implode(',', $categoryId);
|
||||||
$query->where('a.category IN (' . $categoryId . ')');
|
$query->where('a.catid IN (' . $categoryId . ')');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -216,7 +216,7 @@ class ComponentbuilderModelFieldtypes extends JModelList
|
|||||||
{
|
{
|
||||||
ArrayHelper::toInteger($categoryId);
|
ArrayHelper::toInteger($categoryId);
|
||||||
$categoryId = implode(',', $categoryId);
|
$categoryId = implode(',', $categoryId);
|
||||||
$query->where('a.category IN (' . $categoryId . ')');
|
$query->where('a.catid IN (' . $categoryId . ')');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user