Fixed gcategory column naming issue in array query.

This commit is contained in:
2020-11-30 18:49:12 +02:00
parent 3324576c95
commit 732521b3ab
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;
}