title: Yii ClistView pagination not working
body: <p>My Clistview Pagination is not working properly.I tried every thing but still not getting success.Here is my model function:</p>
  
  <pre><code>public function getallone()
  {
      $criteria = new CDbCriteria;
      $criteria-&gt;select   =   "t.id"; 
      $criteria-&gt;condition = "t.featured=1 AND t.status = 1";
              return new CActiveDataProvider($this, array(
          'criteria'=&gt;$criteria,
                  'pagination' =&gt; array('pageSize' =&gt; 25),
  
      ));
  }
  </code></pre>
  
  <p>Am still getting only 10 items per page but i want 25.I tried to 2 items but its also not working. Whats wrong with that?Didnt find.</p>
  
  <p>And this is my view code:</p>
  
  <pre><code>&lt;?php $this-&gt;widget('zii.widgets.CListView', array(
          'dataProvider'=&gt;$model-&gt;getallone(),
          'itemView'=&gt;'_allone',
  
          'enablePagination' =&gt; true,
          )); ?&gt;
  </code></pre>