diff options
Fixed stream navigation logic
* a "previous" link was generated even if the end of the stream was reached
Diffstat (limited to 'source')
-rw-r--r-- | source/99_result/stream.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl index 4bed923..4a17280 100644 --- a/source/99_result/stream.xsl +++ b/source/99_result/stream.xsl @@ -59,7 +59,7 @@ </a> </span> </xsl:if> - <xsl:if test="@index < @total"> + <xsl:if test="@index < @total - 1"> <span> <a class="pagination-next" href="{$url}/{@index + 1}"> older ยป |