zii.widgets.grid.CGridView Error Displaying the result

[size="4"]i have the zii.widgets.grid.CGridView with 10 search filters when i try to do the advance search the widget result give 268 but the zii widget display 4 result per page and 27 page only which is wrong .

expected result =>show 27 page 10 results in each.

SEE ATTACHMENT

[/size]

[color="#FFA500"]

$widget=$this->widget(‘zii.widgets.grid.CGridView’, array(

'id'=>'place-grid',


'dataProvider'=>$model->search($user_filter , $creation_filter ,$subtag_filter ,$business_owner_id_filter ,$phone_filter ,$geo_point_filter ,$logo_uri_filter , $photos_filter ,$from_dayTime_filter ,$reviews_filter ),


'filter'=>$model,


   	'columns'=>array(


            array(


                    'name' => 'id',


                    'value' => '$data->id',


                    'selectableRows' => '2 or more', //notice


                    'class' => 'CCheckBoxColumn',


                     


                 ),


            'name_en',


	'name_ar',


            'username',


            'created_at',


            'publish_status',


            'primary_tag_item',


            'sub_tags',


            'content',


            'region_id',


             


	array(


		'class'=>'CButtonColumn',


	),


),

));[/color]

Why are you sending parameters to the $model->search() method?

Check the default code generated by Gii to see how the filtering/search works…

because i want to do special filters in the model search so i can filter as specific value

the search is done in the model->search() function… so can’t help you without looking at that code…