source/Application/Model/Search.php
protected function getSearchField($table, $field)
    {
        if ($field == 'oxlongdesc') {
            $searchField = getViewName('oxartextends', $this->_iLanguage) . ".{$field}";
        } else {
            $searchField = "{$table}.{$field}";
        }
        return $searchField;
    }
protected function getSearchField($table, $field)
    {
        if ($field == 'oxlongdesc') {
            $searchField = getViewName('oxartextends', $this->_iLanguage) . ".{$field}";
        } else {
            $searchField = "{$table}.{$field}";
        }
        return $searchField;
    }
protected function getSearchField ( $ table , $ field ) { if ( $ field == 'oxlongdesc' ) { $ searchField = getViewName ( 'oxartextends' , $ this -> _iLanguage ) . ".{$field}" ; } else { $ searchField = "{$table}.{$field}" ; } return $ searchField ; }
Get search field name.
Needed in case of searching for data in table oxartextends or its views.

@param string $table
@param string $field Chose table depending on field.

@return string
Get search field name . Needed in case of searching for data in table oxartextends or its views .