Bugzilla – Attachment 104683 Details for
Bug 24378
Change wording on AUTO_RENEWALS notice in updatedatabase
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24378: (follow-up) Format due date as due date
Bug-24378-follow-up-Format-due-date-as-due-date.patch (text/plain), 2.15 KB, created by
Katrin Fischer
on 2020-05-11 11:09:02 UTC
(
hide
)
Description:
Bug 24378: (follow-up) Format due date as due date
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-05-11 11:09:02 UTC
Size:
2.15 KB
patch
obsolete
>From 606f2cbf396097770dd708d43975b452d9861510 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 10 May 2020 17:06:17 +0000 >Subject: [PATCH] Bug 24378: (follow-up) Format due date as due date > >Changes the due date formatting as was already done >for the new sample files on bug 23787. >--- > installer/data/mysql/atomicupdate/bug_24378_auto_renewals.perl | 2 +- > installer/data/mysql/updatedatabase.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_24378_auto_renewals.perl b/installer/data/mysql/atomicupdate/bug_24378_auto_renewals.perl >index a9580353d8..6dd5c1d672 100644 >--- a/installer/data/mysql/atomicupdate/bug_24378_auto_renewals.perl >+++ b/installer/data/mysql/atomicupdate/bug_24378_auto_renewals.perl >@@ -27,7 +27,7 @@ if( CheckVersion( $DBversion ) ) { > }); > $dbh->do(q{ > UPDATE letter SET >- content = REPLACE(content, "The following item [% biblio.title %] has correctly been renewed and is now due [% checkout.date_due %]", "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due %] >+ content = REPLACE(content, "The following item [% biblio.title %] has correctly been renewed and is now due [% checkout.date_due | $KohaDates as_due_date => 1 %]", "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due %] > ") > WHERE code = 'AUTO_RENEWALS'; > }); >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index d31355c910..5333deb5fd 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -14456,7 +14456,7 @@ if( CheckVersion( $DBversion ) ) { > Your total unpaid fines are too high. > [% END %] > [% ELSE %] >- The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due %] >+ The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %] > [% END %]", 'email'); > }); > >-- >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 24378
:
100309
|
100416
|
100417
|
100479
|
100480
|
100485
|
102827
|
102828
|
102871
|
102872
|
104683
|
104701
|
104702
|
104703
|
104704