aboutsummaryrefslogtreecommitdiff
path: root/source/99_result
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-07 21:33:20 +0200
committerAdrian Kummerlaender2014-08-07 21:33:20 +0200
commit361f7f5c4993ecb7e316407e88d2e1e8ca1dddbb (patch)
tree3a42cba72e7215552c32fbe1949deb3b1fe09747 /source/99_result
parent40e8c5200f2e0ac227265f6166a5e33186cc4c09 (diff)
downloadblog.kummerlaender.eu-361f7f5c4993ecb7e316407e88d2e1e8ca1dddbb.tar
blog.kummerlaender.eu-361f7f5c4993ecb7e316407e88d2e1e8ca1dddbb.tar.gz
blog.kummerlaender.eu-361f7f5c4993ecb7e316407e88d2e1e8ca1dddbb.tar.bz2
blog.kummerlaender.eu-361f7f5c4993ecb7e316407e88d2e1e8ca1dddbb.tar.lz
blog.kummerlaender.eu-361f7f5c4993ecb7e316407e88d2e1e8ca1dddbb.tar.xz
blog.kummerlaender.eu-361f7f5c4993ecb7e316407e88d2e1e8ca1dddbb.tar.zst
blog.kummerlaender.eu-361f7f5c4993ecb7e316407e88d2e1e8ca1dddbb.zip
Fixed stream navigation logic
* a "previous" link was generated even if the end of the stream was reached
Diffstat (limited to 'source/99_result')
-rw-r--r--source/99_result/stream.xsl2
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 &lt; @total">
+ <xsl:if test="@index &lt; @total - 1">
<span>
<a class="pagination-next" href="{$url}/{@index + 1}">
older ยป