source/Application/Controller/Admin/AdminListController.php
protected function _buildFilter($value, $isSearchValue)
    {
        if ($isSearchValue) {
            //is search string, using LIKE
            $query = " like " . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote('%' . $value . '%') . " ";
        } else {
            //not search string, values must be equal
            $query = " = " . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote($value) . " ";
        }

        return $query;
    }
protected function _buildFilter($value, $isSearchValue)
    {
        if ($isSearchValue) {
            //is search string, using LIKE
            $query = " like " . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote('%' . $value . '%') . " ";
        } else {
            //not search string, values must be equal
            $query = " = " . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote($value) . " ";
        }

        return $query;
    }
protected function _buildFilter ( $ value , $ isSearchValue ) { if ( $ isSearchValue ) { //is search string, using LIKE $ query = " like " . \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> quote ( '%' . $ value . '%' ) . " " ; } else { //not search string, values must be equal $ query = " = " . \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> quote ( $ value ) . " " ; } return $ query ; }
Builds part of SQL query

@param string $value         filter value
@param bool   $isSearchValue filter value type, true means surrount search key with '%'

@return string
Builds part of SQL query