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.



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


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

    'pagerCssClass' => 'page',


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


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



        'date_created'=>'Post Time',

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