Bug 9218: fix intranet cart email for non english templates
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 8 Oct 2013 08:52:28 +0000 (10:52 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 31 Oct 2013 23:53:25 +0000 (23:53 +0000)
commitc4c5496ec656ee4745587b3cea239cc849d2c09a
treef69ade1c67845f579930bd9aec70c7eddc3cdf51
parent42579892b732d2bf1871b50027bdccfaac3446ee
Bug 9218: fix intranet cart email for non english templates

This patch adapts the method from OPAC to the staff interface (cf bug 8062).

Test plan:
- add somes notices to the cart
- try to send the cart by email
- the email should be the same as before
- translate templates and retry with another language. Before this patch,
  the email was empty. With this patch, it contains the list of records
  and items.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Passes all tests and QA script.
Fixes quite a bad translation problem, tested with German templates
and umlauts in the message and records.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
basket/sendbasket.pl
koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt