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)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 2 Apr 2013 07:36:56 +0000 (20:36 +1300)
commit5825b7fb540e11456c73eb445d571994e106e21d
tree59abaca0d81365ec096dd3e34a7bda88209ce71e
parentcc6aafc308fe6db671290bc1dcacb5c6b10875f7
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>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt