title: Yii framework: Customize Search
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9031514/yii-framework-using-data-from-related-active-record-models-for-searching">Yii framework: Using data from related Active Record models for searching</a>  </p>
  </blockquote>
  
  
  
  <p>Yii framework provide searching list of models based on the search/filter conditions.</p>
  
  <p>It provide this functionality for searching content on one table only. </p>
  
  <p>But i needs to perform this functionality based for two tables. </p>
  
  <p>I have table called User and Order. </p>
  
  <p>I have generated search functionality based on Order table. But i want to integrate user's name in to order search.</p>