title: Shopify search.liquid pagination broken
body: <p>I'm trying to display the full 50 products that Shopify allows per page call, but in my search results only 10 items are displayed and the pagination links lead to the same 10 products for  each page.</p>
  
  <p>I've read through the documentation and even used the template from Caroline Schnapp's skeleton theme here: <a href="https://github.com/Shopify/skeleton-theme/blob/master/templates/search.liquid" rel="nofollow">https://github.com/Shopify/skeleton-theme/blob/master/templates/search.liquid</a>, I get the same results no matter what I try.</p>
  
  <p>To summarise, I'd like to display 50 products and pagination links on my search results page.</p>
  
  <p>Can anyone shed any light on this please?</p>
  
  <p>Here's the contents of my <code>search.liquid</code> template:</p>
  
  <pre><code>{% paginate search.results by 50 %}
  
  {% if search.results_count == 0 %}
  
    &lt;div class="search-noresults"&gt;
        &lt;h2 class="no-results"&gt;Nothing found for &lt;span class="search-terms"&gt;{{ search.terms }}&lt;/span&gt;&lt;/h2&gt;
        &lt;p class="search-again"&gt;try searching again&lt;/p&gt;
    &lt;/div&gt;
  
  {% else %}
    &lt;section class="search-grid clearfix"&gt;
      &lt;h2 class="results-for"&gt;Results for &lt;span class="search-terms"&gt;{{ search.terms }}&lt;/span&gt;&lt;/h2&gt;
  
      {% for product in search.results %}
        &lt;section class="collection-grid "&gt;
                  &lt;div class="product-box" href="{{product.url}}"&gt;
                      &lt;a href="{{product.url}}" class="ajaxify-link"&gt;&lt;img src="{{ product.featured_image | product_img_url: 'large'}}" alt="{{ product.description | strip_html | truncate: 75 }} click for more information" /&gt;&lt;/a&gt;
                  &lt;hr class="collection-hr"&gt;&lt;span class="grid-title"&gt;{{product.title}}&lt;/span&gt;&lt;br/&gt;&lt;span class="grid-price"&gt;{{ product.price | divided_by: 100 | replace: '.',' ' | truncatewords: 1 | remove: '...' }} £&lt;/span&gt;
                  &lt;/div&gt;
        &lt;/section&gt;
      {% endfor %}
    &lt;/section&gt;
  
    {% if search.results_count &gt; 50 %}
      &lt;div id="pagination"&gt;
          {{ paginate | default_pagination }}
      &lt;/div&gt;
  
  {% endif %}
  
  {% endif %}
  
  
  {% endpaginate %}
  </code></pre>