From: Sven Schöling Date: Thu, 21 Jul 2011 14:08:28 +0000 (+0200) Subject: Paginating: Visibility auch berechnen... X-Git-Tag: release-2.7.0beta1~134 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8378f2cf7bde1116fd9618781fc14b991f5e2290;p=kivitendo-erp.git Paginating: Visibility auch berechnen... --- diff --git a/SL/DB/Helper/Paginated.pm b/SL/DB/Helper/Paginated.pm index df5a6e3d9..e170ad383 100644 --- a/SL/DB/Helper/Paginated.pm +++ b/SL/DB/Helper/Paginated.pm @@ -51,7 +51,7 @@ sub make_common_pages { map { active => $_ != $cur, page => $_, - visible => + visible => calc_visibility($cur, $max, $_), }, 1 .. $max ]; }