Bugzilla – Attachment 16435 Details for
Bug 8365
Renewal duration in issuingules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 8365: Followup Force DateTime type for the datedue variable
PASSED-QA-Bug-8365-Followup-Force-DateTime-type-fo.patch (text/plain), 1.46 KB, created by
Katrin Fischer
on 2013-03-19 17:16:10 UTC
(
hide
)
Description:
[PASSED QA] Bug 8365: Followup Force DateTime type for the datedue variable
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-03-19 17:16:10 UTC
Size:
1.46 KB
patch
obsolete
>From ea6b238a86bd61e27c6eafae383b6fe163d0e663 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 19 Mar 2013 14:18:40 +0100 >Subject: [PATCH] [PASSED QA] Bug 8365: Followup Force DateTime type for the > datedue variable > >Signed-off-by: Broust <jean-manuel.broust@univ-lyon2.fr> >I tested one more time on a sandbox but I confirm the problem: >the due date doesn't change when you renew more than one time >with syspref renewalperiodbase turned on: "the old due date of >the checkout". The due date should change any time. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Added signed-off line and problem description from bugzilla. >--- > C4/Circulation.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 300da1c..4a60843 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2515,7 +2515,7 @@ sub AddRenewal { > my $itemtype = (C4::Context->preference('item-level_itypes')) ? $biblio->{'itype'} : $biblio->{'itemtype'}; > > $datedue = (C4::Context->preference('RenewalPeriodBase') eq 'date_due') ? >- $issuedata->{date_due} : >+ dt_from_string( $issuedata->{date_due} ) : > DateTime->now( time_zone => C4::Context->tz()); > $datedue = CalcDateDue($datedue, $itemtype, $issuedata->{'branchcode'}, $borrower, 'is a renewal'); > } >-- >1.7.9.5
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 8365
:
12054
|
12374
|
13972
|
14142
|
15300
|
15301
|
15302
|
15303
|
15360
|
15361
|
16120
|
16121
|
16213
|
16214
|
16382
|
16386
|
16396
|
16433
|
16434
| 16435 |
16436