From 5fcbb630ca5ed443e0cabe0c96a31e14dd413ab3 Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 6 Apr 2016 12:46:51 +0000 Subject: [PATCH] bugfix: show last page in pagination svn path=/trunk/; revision=115 --- pages/list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/list.sh b/pages/list.sh index 6cc5fdc..063bf40 100755 --- a/pages/list.sh +++ b/pages/list.sh @@ -154,4 +154,4 @@ thumblist() { done } -pagecount="$(( $(selectionlist | wc -l) / $pagesize ))" +pagecount="$(( $(selectionlist | wc -l) / $pagesize + 1 ))" -- 2.39.2