Skip to content

Commit

Permalink
Merge pull request #1509 from Steltek/master
Browse files Browse the repository at this point in the history
Quick fix for issue #1497 (older/newer links incomplete in search)
  • Loading branch information
ginatrapani committed Mar 21, 2013
2 parents 8a6537a + 29b10e2 commit f76222d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/_lib/view/search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ Search results for "{$smarty.get.q}"
<ul class="pager">
{if $next_page}
<li class="previous">
<a href="{$site_root_path}search.php?{if $smarty.get.u}u={$smarty.get.u}&{/if}{if $smarty.get.q}q={$smarty.get.q}&{/if}{if $smarty.get.n}n={$smarty.get.n|urlencode}&{/if}page={$next_page}" id="next_page" class="pull-left btn btn-small"><i class="icon-arrow-left"></i> Older</a>
<a href="{$site_root_path}search.php?{if $smarty.get.u}u={$smarty.get.u}&{/if}{if $smarty.get.n}n={$smarty.get.n|urlencode}&{/if}{if $smarty.get.c}c={$smarty.get.c}&{/if}{if $smarty.get.q}q={$smarty.get.q}&{/if}page={$next_page}" id="next_page" class="pull-left btn btn-small"><i class="icon-arrow-left"></i> Older</a>
</li>
{/if}
{if $last_page}
<li class="next">
<a href="{$site_root_path}search.php?{if $smarty.get.u}u={$smarty.get.u}&{/if}{if $smarty.get.q}q={$smarty.get.q}&{/if}{if $smarty.get.n}n={$smarty.get.n|urlencode}&{/if}page={$last_page}" id="last_page" class="pull-right btn btn-small">Newer <i class="icon-arrow-right"></i></a>
<a href="{$site_root_path}search.php?{if $smarty.get.u}u={$smarty.get.u}&{/if}{if $smarty.get.n}n={$smarty.get.n|urlencode}&{/if}{if $smarty.get.c}c={$smarty.get.c}&{/if}{if $smarty.get.q}q={$smarty.get.q}&{/if}page={$last_page}" id="last_page" class="pull-right btn btn-small">Newer <i class="icon-arrow-right"></i></a>
</li>
{/if}
</ul>
Expand Down

0 comments on commit f76222d

Please sign in to comment.