Add Extra Parameter In Clistview Pagination

Hi

I have a CListView with pagination

How to add an extra parameter of the generated links ?

The generated links seems like that


index.php?r=myurl&param1=value1&my_model_page=2&ajax=yw0

that is the current url except &my_model_page=2&ajax=yw0 (index.php?r=myurl&param1=value1)

how to add an extra parameter like that ?


index.php?r=myurl&param1=value1&my_model_page=2&ajax=yw0&my_new_param=myvalue

Thanks!

ok I found the solution!

in dataprovider there is an option params like that


 'pagination' => array(

                    'pageSize' => 10,

                    'params' => array('my_new_param' => 'myvalue'),

    ),

so, this add tha my_new_param with value in the pagination :)