From 5825b7fb540e11456c73eb445d571994e106e21d Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Fri, 29 Mar 2013 14:53:45 +0100 Subject: [PATCH] Bug 9954 - CVS profile encoding not selected in edition When editing an existing CSV profile, its encoding is not selected in combobox, first value "ascii" is always selected. This patch corrects this (surely appeared with TT conversion) and also the fact that "uft8" is by default selected in creation form. Test plan: - Go to Tools/CSV Profiles - In "New prodile" tab => Check that "uft8" is selected - Create a new profile by entering name, an encoding (other than the first), and MARC fields - Click on "Edit existing profile" tab - Select created profile => Check that specified encoding is selected Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Template only change. Fixed tabs. Signed-off-by: Jared Camins-Esakov Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt index 242e7f9a7c..8d9c520f94 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt @@ -101,7 +101,7 @@ function reloadPage(p) {
  • [% FOREACH encoding IN encodings %] - [% IF ( selected_encoding == encoding ) %] + [% IF ( selected_encoding == encoding.encoding ) %] [% ELSE %] -- 2.20.1