Yii1 CGridView(Yii-Booster): How to change filter key(filterVal) in TbGridView(based on CGridView)?
<p>I am using yii-booster(4.0.1) TbGridView(extends CGridView) and need to change the filter variable name in _REQUEST($_POST, $_GET) for filter function.
In my grid, I have filter functionality and when I press enter after entering some words in the filter input, an ajax request will sent for server. in this request in $_REQUEST I have:</p>

<pre><code>array
(
    'page' =&gt; '1'
    'wsi_it_model_Asset' =&gt; array
    (
        'user' =&gt; 'eghlima'
        'createdAt' =&gt; ''
        'serial' =&gt; ''
        'brand' =&gt; ''
        'model' =&gt; ''
        'assetType' =&gt; ''
        'assigned' =&gt; ''
        'location' =&gt; ''
        'status' =&gt; ''
    )
)
</code></pre>

<p>My question is how can I change <strong>wsi_it_model_Asset</strong> in the request created by CGridView. 
I know that I should do it through a parameter in <em>CActiveDataProvider</em> when I am creating the dataProvider but I can not find it.</p>

<p>Thanks in advance.</p>

<p><strong>UPDATE 24 Jan</strong> <br />
I found my code from another project, as you can see I can change the <code>key</code> for <code>sort</code> and <code>pagination</code>, I need something look like for filtering key;</p>

<pre><code>return new \CActiveDataProvider($this-&gt;applicant, array(
            'criteria' =&gt; $criteria,
            'pagination' =&gt; array(
                'pageVar' =&gt; 'p', // &lt;&lt;&lt;&lt;&lt; pagination var
                'pageSize' =&gt; 20,
            ),
            'sort' =&gt; array(
                'sortVar' =&gt; 's', // &lt;&lt;&lt;&lt;&lt; sorting var
                'defaultOrder' =&gt; 't.firstName ASC',
                'attributes' =&gt; array(
                    '*'
                )

            ),
        ));
</code></pre>

<p>So for pagination, the request which is posting from client to server will be:</p>

<pre><code>array
(
    'p' =&gt; '7' // &lt;&lt;&lt;&lt;&lt;&lt; page changed to `p`
    'wsi_it_model_Asset' =&gt; array
    (
        'user' =&gt; 'eghlima'
        'createdAt' =&gt; ''
        'serial' =&gt; ''
        'brand' =&gt; ''
        'model' =&gt; ''
        'assetType' =&gt; ''
        'assigned' =&gt; ''
        'location' =&gt; ''
        'status' =&gt; ''
    )
)
</code></pre>