public function filterByConfigDisplayerrors($configDisplayerrors = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($configDisplayerrors)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $configDisplayerrors)) {
                $configDisplayerrors = str_replace('*', '%', $configDisplayerrors);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(RemoteHistoryContaoPeer::CONFIG_DISPLAYERRORS, $configDisplayerrors, $comparison);
    }