]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 4 Jun 2015 13:08:40 +0000 (10:08 -0300)
commitece2b02a57fdb692c02f00540df436af1f5ba971
tree72523eb284fcc8e56ca52a322a5b883f08dbab9e
parent0fa0297d7da7af6a9f4cd82b34ac86018391289f
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>
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