Filter not working on CGridView

I am unable to filter on any of my search fields. I have look at a lot of forum post and I seem to have everything I need to make filtering working, but it isn’t working. Below is my Model, Controller, and View:

Model: Evidences.php


	public function rules()


		// NOTE: you should only define rules for those attributes that

		// will receive user inputs.

		return array(

			array('created_by', 'required'),

			array('created_by, modified_by', 'numerical', 'integerOnly'=>true),

			array('title, summary, display_name', 'length', 'max'=>255),

			array('description, created_at, modified_at', 'safe'),

			// The following rule is used by search().

			// @todo Please remove those attributes that should not be searched.

			array('id, title, summary, description, created_at, modified_at, display_name, created_by, modified_by', 'safe', 'on'=>'search'),




	public function search()


		// @todo Please modify the following code to remove attributes that should not be searched.

		$criteria=new CDbCriteria;










		return new CActiveDataProvider($this, array(




Controller: EvidencesController.php

	public function actionAdmin()


		$model=new Evidences('search');

		$model->unsetAttributes();  // clear any default values







View: admin.php

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





















Please let me know what I am missing.

So how is it not working? What is happening?

At the top of the CGridView in the filter search fields, when I type in a string that I know should return some sort of filter it doesn’t. The amount of items in the table remains the same before and after the search.

What does the request look like?

The query string parameters are:







You are posting parameters for "ExtendedEvidences" but your Controller is looking for "Evidences":



I would assume that is part of the problem.

I was thanks