public function getQuery($model)
    {
        $query = clone parent::getQuery($model);
        $primaryKey = array_map(function ($column) {
            return 't.' . $column;
        }, $model::primaryKey());
        return $query->andWhere([
            'in',
            $primaryKey,
            self::importKey($primaryKey, \Yii::$app->request->getQueryParam('keys'))
        ]);
    }
public function getQuery($model)
    {
        $query = clone parent::getQuery($model);
        $primaryKey = array_map(function ($column) {
            return 't.' . $column;
        }, $model::primaryKey());
        return $query->andWhere([
            'in',
            $primaryKey,
            self::importKey($primaryKey, \Yii::$app->request->getQueryParam('keys'))
        ]);
    }
public function getQuery ( $ model ) { $ query = clone parent :: getQuery ( $ model ) ; $ primaryKey = array_map ( function ( $ column ) { return 't.' . $ column ; } , $ model :: primaryKey ( ) ) ; return $ query -> andWhere ( [ 'in' , $ primaryKey , self :: importKey ( $ primaryKey , \ Yii :: $ app -> request -> getQueryParam ( 'keys' ) ) ] ) ; }
Processes a filter form and row selection submitted via GET into a CDbCriteria object.
@param \yii\db\ActiveRecord $model
@return Query
Processes a filter form and row selection submitted via GET into a CDbCriteria object .