Fix for Bug 6458 - incorrect parsing result in translation processing
authorOwen Leonard <oleonard@myacpl.org>
Fri, 2 Sep 2011 14:14:51 +0000 (10:14 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 13 Sep 2011 22:08:19 +0000 (10:08 +1200)
There is template logic in manage-marc-import.tt which is intended
to set the "selected" option for the framework chooser ("Add new
bibliographic records into this framework"). However, I can't see
any place in the code which sends the "selected" variable to the
template, and I can't see any circumstance in which a value would
be passed to the template.

This patch removes the "selected" variable from the template.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt

index b5083ae..3890efe 100644 (file)
@@ -157,9 +157,7 @@ $(document).ready(function(){
     <select name="framework" id="frameworks">
       <option value="">Default</option>
       [% FOREACH framework IN frameworks %]
-      <option value="[% framework.value %]" [% framework.selected %]>
-      [% framework.label %]
-      </option>
+          <option value="[% framework.value %]">[% framework.label %]</option>
       [% END %]
     </select>
     </fieldset>