src/ngrest/base/NgRestModel.php
public function ngRestFullQuerySearch($query)
    {
        $find = $this->ngRestFind();
        
        $operand = [];
        foreach ($this->genericSearchFields() as $column) {
            $operand[] = ['like', $column, $query];
        }
        
        $find->andWhere(new OrCondition($operand));
        
        return $find;
    }
public function ngRestFullQuerySearch($query)
    {
        $find = $this->ngRestFind();
        
        $operand = [];
        foreach ($this->genericSearchFields() as $column) {
            $operand[] = ['like', $column, $query];
        }
        
        $find->andWhere(new OrCondition($operand));
        
        return $find;
    }
public function ngRestFullQuerySearch ( $ query ) { $ find = $ this -> ngRestFind ( ) ; $ operand = [ ] ; foreach ( $ this -> genericSearchFields ( ) as $ column ) { $ operand [ ] = [ 'like' , $ column , $ query ] ; } $ find -> andWhere ( new OrCondition ( $ operand ) ) ; return $ find ; }
Search trough the whole table as ajax fallback when pagination is enabled.

This method is used when the angular crud view switches to a pages view and a search term is entered into
the query field. By default it will also take the fields from {{genericSearchFields()}}.

When you have relations to lookup you can extend the parent implementation, for example:

```php
public function ngRestFullQuerySearch($query)
{
return parent::ngRestFullQuerySearch($query)
->joinWith(['production'])
->orFilterWhere(['like', 'title', $query]);
}
```

@param string $query The query which will be used in order to make the like statement request.
@return \yii\db\ActiveQuery Returns an ActiveQuery instance in order to send to the ActiveDataProvider.
Search trough the whole table as ajax fallback when pagination is enabled .