From 0bbefeba8292ec9a824b7d88cec92fed0fc44c57 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 6 Jan 2016 16:17:10 +0000 Subject: [PATCH] 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 Works as descrived Signed-off-by: Katrin Fischer Signed-off-by: Brendan A Gallagher (cherry picked from commit 47e6df5fe4bbf54517d47da4f1d49eb177732144) Signed-off-by: Julian Maurice --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt index bf7f8b6063..68e400e4f1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt @@ -139,7 +139,7 @@ $(document).ready(function() {
  • - [% FOR csv_profile IN csv_profiles %] [% END %] -- 2.39.5