]> git.koha-community.org Git - koha.git/commit
Bug 14263: Fix export of item search results when translated
authorJonathan Druart <jonathan.druart@koha-community.org>
Sun, 24 May 2015 16:00:57 +0000 (18:00 +0200)
committerLiz Rea <wizzyrea@gmail.com>
Tue, 4 Aug 2015 01:20:11 +0000 (13:20 +1200)
commitcab3bc91ddb9aa3644a9c71a607ba1b724f958cc
treeca828676a13c1a1428d19e2d00166e713f2a0e21
parent5e587672d2601c34326c81e888512b67008ec971
Bug 14263: Fix export of item search results when translated

This csv does not use the correct way to display headers.
They should be put in a separate file to get a correct display.
Without this patch, the first line of the generated file contains the
headers + data

Test plan:
1/ choose a language and update + translate the templates
for instance:
  cd misc/translate;
  ./translate update es-ES; ./translate install es-ES
2/ Go to the item search form using this language
3/ Launch a search and select CSV to display the results.
The CSV headers should be correct

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
  Seen the bug. Works as described.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit ece2b02a57fdb692c02f00540df436af1f5ba971)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
catalogue/itemsearch.pl
koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc
koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/empty_line.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_csv.tt