title: Search pages with a Tag in CQ5
body: <p>I am working on a custom search component in CQ5. I need to search for 1 or more tags selected by user using checkboxes. I tried using an earlier query to search text (select * from cq:Pagecontent where...)</p>
  
  <p>I tried using :</p>
  
  <pre><code>select * from cq:PageContent where cq:tags like '%mytag%'
  </code></pre>
  
  <p>but it is not working. There are 2 pages which have 'mytag' as tag.</p>
  
  <p>Any suggestion on how to do it ?</p>