CListView

Hi guys, I’m trying to make a clear filters link:

I’m trying to create a button to clear the filters, simply by just recalling the page with ajax, which works, but I want to keep track of the page and still return the page, but clear filters. I also can’t do $_GET[‘Reviews_page’] because its being done in ajax.




<?php

    

    $this->widget('zii.widgets.CListView', array(

    'dataProvider'=>$dataProvider,

    'itemView'=>'reviews',   // refers to the partial view named '_post'

    'pagerCssClass' => 'page',

        'pager'=>array(

            'htmlOptions' => array('class' => 'pagings'),

	),

    //'cssFile'=> Yii::app()->baseUrl.'/styles/css.css',

    'sortableAttributes'=>array(

        'rating',

        'date_created'=>'Post Time',

        '' => CHtml::link('Clear Filters', array('user/'.$model->lookup.'?Reviews_page='.$dataProvider->getPagination()->currentPage)),

    ),

));

    


    

       ?>