From 03469a053183167e35d12b686ab760ae5b335605 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 23 Nov 2012 16:52:31 +0100 Subject: [PATCH] Doku nochmal an mosus Refactoring angepasst --- SL/DB/Helper/Paginated.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/DB/Helper/Paginated.pm b/SL/DB/Helper/Paginated.pm index 07e5b5e9c..02e772814 100644 --- a/SL/DB/Helper/Paginated.pm +++ b/SL/DB/Helper/Paginated.pm @@ -135,7 +135,7 @@ The returned hashref will have the following structure: { per_page => 20, # how many entries per page max => 5, # number of the last page - cur => 2, # number of the current page + page => 2, # number of the current page common => [ # an array of hashes for each page ..., { active => 1, # set if this is the active page @@ -146,7 +146,7 @@ The returned hashref will have the following structure: ] } -You may assume that C is sanitized to be within 1..C. +You may assume that C is sanitized to be within 1..C. The common list is kept arbitrary by design, so that the algorithm to display the paginating controls can be changed by solely changing the -- 2.20.1