]> git.koha-community.org Git - koha.git/commit
Bug 14614: Multiple URLs (856) in cart/list email are broken
authorMarc Véron <veron@veron.ch>
Thu, 24 Mar 2016 10:59:27 +0000 (11:59 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 27 Apr 2016 14:05:16 +0000 (16:05 +0200)
commit90d46d133750d8b29afe8dbd91f30cc402b8cb7d
treed0b73bb57656b019b28fe3ccaffba1c598e6a79e
parent57b94630d1eb917f527ea09cf28ac8d880dcd9be
Bug 14614: Multiple URLs (856) in cart/list email are broken

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)

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit d135499d2893fe1000c627f433395989d7d9e022)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit bd6e5a4c32496c94b0f90010fdc6b8dc047ea64f)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt