]> git.koha-community.org Git - koha.git/commit
Bug 15493: Use the correct CSV profile when exporting records from the export tool
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 6 Jan 2016 16:17:10 +0000 (16:17 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 12 Jan 2016 13:27:05 +0000 (14:27 +0100)
commit0bbefeba8292ec9a824b7d88cec92fed0fc44c57
tree2f6855ff8123542670fcf6b184986eb6a9961281
parent1b5f4b8b9bc97aa7d7223c5331480bf306c1d0d9
 Bug 15493: Use the correct CSV profile when exporting records from the export tool

The CSV profile used is not the one the user has chosen, but the one
defined in the pref ExportWithCsvProfile.

It's caused by a wrong variable name csv_profile vs csv_profile_id

Test plan:
Define 1+ csv profiles
Set ExportWithCsvProfile with 1 of these profile
Use the export tool to export some records using a csv profile.
Without this patch, the csv profile used, will always be the one defined
in ExportWithCsvProfile.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as descrived

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 47e6df5fe4bbf54517d47da4f1d49eb177732144)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt