зеркало из https://github.com/mozilla/pjs.git
Added orderby to persist sort for bottom links as well.
This commit is contained in:
Родитель
2d4b5cb3b6
Коммит
d29d433475
|
@ -66,7 +66,7 @@ Was this comment helpful? <a href="{$config.webpath}/ratecomment.php?aid={$addon
|
|||
<div class="pages">
|
||||
<div class="prev">
|
||||
{if $page.left}
|
||||
<a href="{$config.webpath}/comments.php?app={$app}&{$page.url}&left={$page.previous}">« Previous Page</a>
|
||||
<a href="{$config.webpath}/comments.php?app={$app}&{$page.url}&left={$page.previous}&orderby={$page.orderby}">« Previous Page</a>
|
||||
{else}
|
||||
« Previous Page
|
||||
{/if}
|
||||
|
@ -74,7 +74,7 @@ Was this comment helpful? <a href="{$config.webpath}/ratecomment.php?aid={$addon
|
|||
|
||||
<div class="next">
|
||||
{if $page.next}
|
||||
<a href="{$config.webpath}/comments.php?app={$app}&{$page.url}&left={$page.next}">Next Page »</a>
|
||||
<a href="{$config.webpath}/comments.php?app={$app}&{$page.url}&left={$page.next}&orderby={$page.orderby}">Next Page »</a>
|
||||
{else}
|
||||
Next Page »
|
||||
{/if}
|
||||
|
|
Загрузка…
Ссылка в новой задаче