title: Yii filter condition
body: <p>In my admin.php, I have a table and one of the columns is <code>Status</code> which gives only 2 options, <code>Open</code> or <code>Close</code>.</p>
  
  <p>The below is in my admin.php</p>
  
  <pre><code>array(
                  'name' =&gt; 'complete',
                  'header'=&gt;'Status',
                  'value' =&gt; '($data-&gt;complete == 0) ? Yii::t(\'app\', \'Open\') : Yii::t(\'app\', \'Close\')',                   
                  'filter' =&gt; array('0' =&gt; Yii::t('app', 'Open'), '1' =&gt; Yii::t('app', 'Close')),
  ),
  </code></pre>
  
  <p>I want it to show only the <code>Open</code> condition instead of everything. What can I add into the code? </p>