Bug 9954 - CVS profile encoding not selected in edition
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Fri, 29 Mar 2013 13:53:45 +0000 (14:53 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 31 Mar 2013 12:58:48 +0000 (08:58 -0400)
commit03c59ec86db4154ffbd73fa9e3ba0aa1d064b51d
treea879436cb103817bc78d012cbcfef2f3b0e1f559
parent98cfad6e9bcab065a78838c01b3220da0f064298
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 <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Template only change.
Fixed tabs.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt