title: CakePHP3 - FriendsOfCake Search Plugin Form Link Not Working
body: <p>CAKEPHP 3.0</p>
  
  <p>I have used this search plugin for the  Help Center I am working on.
  <a href="https://github.com/FriendsOfCake/search" rel="nofollow noreferrer">https://github.com/FriendsOfCake/search</a></p>
  
  <p>So I have already integrated this plugin on a Forum page and it can successfully filter the searched keyword accurately. However, when I click the 'view' button of the topic from the search results <a href="https://gyazo.com/b53046571a26c8dfea624b1e7aee88d7" rel="nofollow noreferrer">https://gyazo.com/b53046571a26c8dfea624b1e7aee88d7</a>, the URL is changed to /index/?view=view&amp;forum_thread_id=10 and can't locate its View page which is supposed to be /forum-threads/view/10</p>
  
  <p>Does anyone know why this plugin changes the URL of a clicked button link?
  Where to check or what file should I modify so that it can successfully locate the view page? Thank you for your help in advance. </p>
  
  <p>[EDIT]</p>
  
  <p>Template\ForumThreads\index.ctp</p>
  
  <pre><code>&lt;?= $this-&gt;Form-&gt;create($viewCounter) ?&gt;
      &lt;?= $this-&gt;Form-&gt;button('View', [
          'type' =&gt; 'submit', 
          'class'=&gt;'btn btn-link btn-xs',
          'escape' =&gt; false, 
          'name' =&gt; 'view', 
          'value'=&gt;'view' 
      ]) ?&gt;
      &lt;?= $this-&gt;Form-&gt;hidden('forum_thread_id', [
          'value' =&gt; $forumThread['id']
      ]) ?&gt;
  &lt;?= $this-&gt;Form-&gt;end() ?&gt;
  </code></pre>