src/Attribute/TranslatedReference.php
public function getFilterOptions($idList, $usedOnly, &$arrCount = null)
    {
        $queryBuilder = $this->connection->createQueryBuilder()
            ->select('*')
            ->from($this->getValueTable());

        $this->buildWhere($queryBuilder, $idList, $this->getMetaModel()->getActiveLanguage());

        $statement     = $queryBuilder->execute();
        $arrOptionizer = $this->getOptionizer();

        $arrReturn = array();
        while ($objValue = $statement->fetch(\PDO::FETCH_OBJ)) {
            $arrReturn[$objValue->{$arrOptionizer['key']}] = $objValue->{$arrOptionizer['value']};
        }
        return $arrReturn;
    }
public function getFilterOptions($idList, $usedOnly, &$arrCount = null)
    {
        $queryBuilder = $this->connection->createQueryBuilder()
            ->select('*')
            ->from($this->getValueTable());

        $this->buildWhere($queryBuilder, $idList, $this->getMetaModel()->getActiveLanguage());

        $statement     = $queryBuilder->execute();
        $arrOptionizer = $this->getOptionizer();

        $arrReturn = array();
        while ($objValue = $statement->fetch(\PDO::FETCH_OBJ)) {
            $arrReturn[$objValue->{$arrOptionizer['key']}] = $objValue->{$arrOptionizer['value']};
        }
        return $arrReturn;
    }
{@inheritDoc}