title: Translate SQL Search Query to Eloquent Query
body: <p>I would like to have the following query.</p>
  
  <pre class="lang-sql prettyprint-override"><code>select * from `items` 
      where (`item_name` LIKE 'foo' or `item_description` LIKE 'foo') 
      and `item_type` = 'type1' 
  </code></pre>
  
  <p>Translated into Eloquent. I have come up with the following statement:</p>
  
  <pre class="lang-php prettyprint-override"><code>$items = Item::where('item_type', '=', 'type1')
      -&gt;orWhere('item_name','LIKE','%'.$q.'%')
      -&gt;orWhere('item_description','LIKE','%'.$q.'%')
      -&gt;sortable(['id' =&gt; 'desc'])
      -&gt;paginate(10);
  </code></pre>
  
  <p>In the above snippet, <code>$q</code> will be <code>foo</code> (it's a search query).</p>
  
  <p>The problem is that this does not return exactly what I want since it also returns items that belong to another <code>item_type</code> instead of the <code>type1</code> in my example.</p>
  
  <p>How can I translate the above SQL query in an Eloquent query so that it only returns the items which contain <code>foo</code> and which are of type <code>Type1</code> only?</p>