Bugzilla – Attachment 63974 Details for
Bug 17975
TT syntax for notices - Prove that HOLD_SLIP is compatible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17975: Let C4::Letters manage today param substitution
Bug-17975-Let-C4Letters-manage-today-param-substit.patch (text/plain), 1.57 KB, created by
Jonathan Druart
on 2017-06-05 16:40:11 UTC
(
hide
)
Description:
Bug 17975: Let C4::Letters manage today param substitution
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-05 16:40:11 UTC
Size:
1.57 KB
patch
obsolete
>From 2786623dfe20c804c5b52c854f75cf27b8474067 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 27 Feb 2017 08:59:53 +0000 >Subject: [PATCH] Bug 17975: Let C4::Letters manage today param substitution >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The today parameter is properly handled from C4::Letters subroutines, we >do not need to pass it from callers. > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > C4/Overdues.pm | 1 - > C4/Reserves.pm | 1 - > 2 files changed, 2 deletions(-) > >diff --git a/C4/Overdues.pm b/C4/Overdues.pm >index b56708afff..d22914fc84 100644 >--- a/C4/Overdues.pm >+++ b/C4/Overdues.pm >@@ -997,7 +997,6 @@ sub parse_overdues_letter { > my $patron = Koha::Patrons->find( $params->{borrowernumber} ); > > my $substitute = $params->{'substitute'} || {}; >- $substitute->{today} ||= output_pref( { dt => dt_from_string, dateonly => 1} ); > > my %tables = ( 'borrowers' => $params->{'borrowernumber'} ); > if ( my $p = $params->{'branchcode'} ) { >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index 7e24ff465a..6f245c3b20 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -1869,7 +1869,6 @@ sub _koha_notify_reserve { > 'reserves' => $hold->unblessed, > 'items' => $hold->itemnumber, > }, >- substitute => { today => output_pref( { dt => dt_from_string, dateonly => 1 } ) }, > ); > > my $notification_sent = 0; #Keeping track if a Hold_filled message is sent. If no message can be sent, then default to a print message. >-- >2.11.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 17975
:
59449
|
60691
|
60717
|
60720
|
63968
|
63969
|
63973
|
63974
|
64334
|
64335