From deb0a8f9f6a5b7b61fe182ea0fb536820b9fc74e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 22 Apr 2024 13:51:40 +0100 Subject: [PATCH] Bug 33736: Set default window to 1 week This update the default display from today + 1 to today + 7 days. Sponsored-by: PTFS Europe Ltd Signed-off-by: Esther Melander Signed-off-by: Paul Derscheid Signed-off-by: Katrin Fischer --- circ/pendingbookings.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/pendingbookings.pl b/circ/pendingbookings.pl index 45a9a2605e..677925268d 100755 --- a/circ/pendingbookings.pl +++ b/circ/pendingbookings.pl @@ -38,7 +38,7 @@ my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user( my $today = dt_from_string(); my $startdate = $today->truncate( to => 'day' ); -my $enddate = $startdate->clone->add( days => 1 ); +my $enddate = $startdate->clone->add( days => 7 ); $template->param( todaysdate => $today, -- 2.39.5