Bug 15381: Remove getauthtypes and getauthtype
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / export.tt
index bf7f8b6..ba90c8f 100644 (file)
@@ -172,12 +172,8 @@ $(document).ready(function() {
             <label for="authtype">Authority type: </label>
             <select name="authtype" id="authtype">
                 <option value="">-- All --</option>
-                [% FOREACH authtypeloo IN authtypeloop %]
-                [% IF ( authtypeloo.selected ) %]
-                <option value="[% authtypeloo.value %]" selected="selected">[% authtypeloo.description %]</option>
-[% ELSE %]
-                <option value="[% authtypeloo.value %]">[% authtypeloo.description %]</option>
-[% END %]
+                [% FOREACH authority_type IN authority_types %]
+                    <option value="[% authtypeloo.value %]">[% authtypeloo.description %]</option>
                 [% END %]
             </select>
         </li>