Pagination and dataProvider Help

In my PostsController I have this:




public function actionIndex() {

		

	$criteria=new CDbCriteria(array(

		'order'=>'post_date DESC',

	));

		

	$dataProvider = new CActiveDataProvider('PostsModel', array(

		'pagination'=>array(

			'pageSize'=>5,

		),

		'criteria'=>$criteria,

	));

	$this->render('index', array(

		'dataProvider' => $dataProvider,

	));

	

}



And for the View I have this:




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

	'dataProvider'=>$dataProvider,

	'itemView'=>'_view',

)); ?>



^ and the _view file that goes through the items.

My problem is that the pagination results are displayed using AJAX/jQuery (?) and I do not want that to be the case.

I would rather just use Query Strings (i.e. ‘example.com/posts?page=2’) when I go to page 2.

My Question is: How do I change this? Is the because I’m using ‘CListView’? Do I have to use ‘CListView’ to go through the results?

(Sorry for all the questions, I’m very new to this framework)

Try to set ajaxUpdate to false - http://yiiframework.com/doc/api/1.1/CListView#ajaxUpdate-detail