Bugzilla – Attachment 43341 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), 1.17 KB, created by
Marc Véron
on 2015-10-12 14:51:49 UTC
(
hide
)
Description:
Bug 11298: Don't force the renew time to 23:59
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-10-12 14:51:49 UTC
Size:
1.17 KB
patch
obsolete
>From 345943701837db50ecfc20fa1fa7e0a77ae64839 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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. > >Followed test plan. It works as advertised. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > 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; >-- >1.7.10.4
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