Bug 17582: Fix authority framework edition
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 8 Nov 2016 14:43:46 +0000 (14:43 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 14 Nov 2016 11:24:23 +0000 (11:24 +0000)
Step to recreate:
Admin>Authority types > Actions > Marc structure

Test plan
Confirm that this patch fixes the issue

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fix the issue, no errors.
Can edit auth marc structure

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt

index 9e01b5b..ddd3b3c 100644 (file)
     <select name="authtypecode">
     [% FOREACH authority_type IN authority_types%]
         [% IF authority_type.authtypecode == authtypecode%]
-        <option value="[% authority_type.value %]" selected="selected">[% authority_type.authtypetext %]</option>
+        <option value="[% authority_type.authtypecode %]" selected="selected">[% authority_type.authtypetext %]</option>
         [% ELSE %]
-        <option value="[% authority_type.value %]">[% authority_type.authtypetext %]</option>
+        <option value="[% authority_type.authtypecode%]">[% authority_type.authtypetext %]</option>
         [% END %]
     [% END %]
     </select>