From 7c1d25b4eae12eb086a17460e938d077eb191069 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. --- 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 ba90c8f..83bc50a 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.1.0