title: Products default sort not working on search.tpl - Prestashop 1.6.0.6
body: <p>I set up in backoffice the default sort type to : in stock. this works for all pages except SearchController template file : search.tpl.</p>
  
  <p>What can be the causes behind such dysfunctionning? I really don't know what part of code to deal with. Thanks everyone who already met such issue for advices.</p>
  
  <p><strong>Edit:</strong>
  I discovered that the link in the adress bar after click on search button is:</p>
  
  <pre><code> website/index.phpcontroller=search&amp;orderby=position&amp;orderway=desc&amp;search_query=design+40&amp;submit_search=Rechercher
  </code></pre>
  
  <p>When I remove <code>orderby=position&amp;orderway=desc</code>, the default behaviour works. I just need to remove this action from controller but still don't know how.</p>