Bugzilla – Attachment 49529 Details for
Bug 14614
Multiple URLs (856) in cart email are broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14614: Multiple URLs (856) in cart/list email are broken
Bug-14614-Multiple-URLs-856-in-cartlist-email-are-.patch (text/plain), 2.22 KB, created by
Marc Véron
on 2016-03-24 13:34:27 UTC
(
hide
)
Description:
Bug 14614: Multiple URLs (856) in cart/list email are broken
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-03-24 13:34:27 UTC
Size:
2.22 KB
patch
obsolete
>From e6e23741ed4acc3c5e88cafb808f59c3bafe95ff Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Thu, 24 Mar 2016 11:59:27 +0100 >Subject: [PATCH] Bug 14614: Multiple URLs (856) in cart/list email are broken >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To reproduce: >- Add multiple subfields 856 u to a bilbio >- Add this biblio to a cart and send it as mail > (from Staff client and from OPAC) >Result: Links in mail body are broken > >To test >- Apply patch >- Send carts again (from Staff client and from OPAC) >- Result: In mail body, links display separated with blank-pipe-blank > like http://bla.com | http://blabla.com | http://blablabla.com >- Change one of the 856 u to not to be a link, e.g. äöü >- Send carts again >- Verify that in mail body äöü correctly display as text. > >(Amended to make it work for OPAC as well, MV) >--- > koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt >index c99b54e..adb47cd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt >@@ -125,7 +125,7 @@ Your cart > [% END %] > [% IF ( BIBLIO_RESULT.url ) %] > <span> >- URL: [% BIBLIO_RESULT.url |url %] >+ URL: [% BIBLIO_RESULT.url %] > </span> > [% END %] > </p> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt >index e3c88ab..7c7978f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt >@@ -125,7 +125,7 @@ Your cart > [% END %] > [% IF ( BIBLIO_RESULT.url ) %] > <span> >- URL: [% BIBLIO_RESULT.url |url %] >+ URL: [% BIBLIO_RESULT.url %] > </span> > [% END %] > </p> >-- >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 14614
:
49527
|
49529
|
49530
|
49532