<div class="row">
<div class="col-sm-12">
<ul class="pager">
    <li class="previous">
        {% if prevPackQuery %}<a href="{{ prevPackQuery }}">&larr; {{ prevPackName }}</a>{% endif %}
    </li>
    <li>
    {% if currentPackQuery %}
        <a href="{{ currentPackQuery }}">{{ currentPackName }}</a>
    {% else %}
        {{ first|raw }}
        {% if ellipsisbefore %}<li class="disabled"><a href="#">...</a></li>{% endif %}
        {{ prev|raw }}
        {{ current|raw }}
        {{ next|raw }}
        {% if ellipsisafter %}<li class="disabled"><a href="#">...</a></li>{% endif %}
	    {{ last|raw }}
	{% endif %}
	</li>
	<li class="next">
		{% if nextPackQuery %}<a href="{{ nextPackQuery }}">{{ nextPackName }} &rarr;</a>{% endif %}
	</li>
</ul>
</div>
</div>

<div class="row">
<div class="col-sm-12">
<ul class="pager">
    <li class="previous">
        {% if prevPackQuery %}<a href="{{ prevPackQuery }}">&larr; {{ prevPackName }}</a>{% endif %}
    </li>
    <li>
    {% if currentPackQuery %}
        <a href="{{ currentPackQuery }}">{{ currentPackName }}</a>
    {% else %}
        {{ first|raw }}
        {% if ellipsisbefore %}<li class="disabled"><a href="#">...</a></li>{% endif %}
        {{ prev|raw }}
        {{ current|raw }}
        {{ next|raw }}
        {% if ellipsisafter %}<li class="disabled"><a href="#">...</a></li>{% endif %}
	    {{ last|raw }}
	{% endif %}
	</li>
	<li class="next">
		{% if nextPackQuery %}<a href="{{ nextPackQuery }}">{{ nextPackName }} &rarr;</a>{% endif %}
	</li>
</ul>
</div>
</div>
<div class="row">
<div class="col-sm-2">
</div>
<div class="col-sm-8 text-center">
<ul class="pagination">
  {{ first|raw }}
  {% if ellipsisbefore %}<li class="disabled"><a href="#">...</a></li>{% endif %}
  {{ prev|raw }}
  {{ current|raw }}
  {{ next|raw }}
  {% if ellipsisafter %}<li class="disabled"><a href="#">...</a></li>{% endif %}
  {{ last|raw }}
</ul>
</div>
<div class="col-sm-2 text-right">
	<p style="margin:27px 0">{{ count }} cards</p>
</div>
</div>

Bring back the paging controls on the search page.
Bring back the paging controls on the search page.
