Bugzilla – Attachment 165280 Details for
Bug 33736
Add bookings to collect circulation report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33736: Set default window to 1 week
Bug-33736-Set-default-window-to-1-week.patch (text/plain), 882 bytes, created by
Martin Renvoize
on 2024-04-22 12:54:00 UTC
(
hide
)
Description:
Bug 33736: Set default window to 1 week
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2024-04-22 12:54:00 UTC
Size:
882 bytes
patch
obsolete
>From f7b377d8a0a332a2330a62de1ca45663351fbbc4 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >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. >--- > circ/pendingbookings.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/pendingbookings.pl b/circ/pendingbookings.pl >index 45a9a2605e7..677925268dd 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.44.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33736
:
158356
|
161044
|
165014
|
165144
|
165277
|
165278
|
165279
| 165280