From d32477f82bca6042ddccd6bbce1cc804927a89a9 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 27 Feb 2023 15:30:42 +0100 Subject: Separate name space for pagination --- templates/headers/_display_headers.html.ep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/headers/_display_headers.html.ep') diff --git a/templates/headers/_display_headers.html.ep b/templates/headers/_display_headers.html.ep index 4dd36a1..ad60fc6 100644 --- a/templates/headers/_display_headers.html.ep +++ b/templates/headers/_display_headers.html.ep @@ -63,8 +63,8 @@ - % foreach my $msgnum ($first_item .. $last_item) { - % my $msg = $msgs->[$msgnum - $first_item]; + % foreach my $msgnum ($pgn->{first_item} .. $pgn->{last_item}) { + % my $msg = $msgs->[$msgnum - $pgn->{first_item}]; %= tag tr => (class => $msg->{unread} ? 'new-mail' : '') => (id => $msg->{message_handle}) => begin -- cgit v1.2.3