Bugzilla – Attachment 41356 Details for
Bug 11298
Renewal due date won't take specified time into account
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11298: Don't force the renew time to 23:59
Bug-11298-Dont-force-the-renew-time-to-2359.patch (text/plain), 1015 bytes, created by
Jonathan Druart
on 2015-08-04 15:35:43 UTC
(
hide
)
Description:
Bug 11298: Don't force the renew time to 23:59
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-08-04 15:35:43 UTC
Size:
1015 bytes
patch
obsolete
>From 2c5ecb3584503c8cb94699f1364976d625ca2590 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 4 Aug 2015 16:33:00 +0100 >Subject: [PATCH] Bug 11298: Don't force the renew time to 23:59 > >If you try to renew an item using the "Renewal due date" at the bottom >of the checkouts table, the time will be hardcoded to 23:59 no matter >what the user has chosen. > >Test plan: >Check an item out to a patron >renew the item and specify a due date using the datetime picker plugin >at the bottom of the table >Confirm the time you have chosen is correctly used. >--- > svc/renew | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/svc/renew b/svc/renew >index fa8475a..33ac4fa 100755 >--- a/svc/renew >+++ b/svc/renew >@@ -49,8 +49,6 @@ my $branchcode = $input->param('branchcode') > my $date_due; > if ( $input->param('date_due') ) { > $date_due = dt_from_string( $input->param('date_due') ); >- $date_due->set_hour(23); >- $date_due->set_minute(59); > } > > my $data; >-- >2.1.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 11298
:
41356
|
43254
|
43341
|
43569