MT3499 : cataloguing authid not reported
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Fri, 30 Apr 2010 22:19:45 +0000 (00:19 +0200)
committerGalen Charlton <gmcharlt@gmail.com>
Sat, 1 May 2010 13:11:47 +0000 (09:11 -0400)
authid would not be correctly updated in bibliorecord.
Biblio record would not receive the correct authid in subfield 9
but some erroneous data

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl

index 931aaa5..f0bcb38 100644 (file)
@@ -23,9 +23,6 @@
             <!-- TMPL_IF NAME="clear" -->
                 if (subfield){subfield.value="" ;}
             <!--TMPL_ELSE-->      
-                if(code.value=='9'){
-                        subfield.value = "<!-- TMPL_VAR ESCAPE="JS" NAME="authid" -->";
-                }
             <!-- TMPL_LOOP NAME="0XX" -->
                 <!-- TMPL_LOOP NAME="subfield" -->
                     if (code.value == "<!-- TMPL_VAR ESCAPE="JS" NAME="marc_subfield" -->"){
@@ -33,6 +30,9 @@
                     }
                 <!-- /TMPL_LOOP -->
             <!-- /TMPL_LOOP -->
+                if(code.value=='9'){
+                        subfield.value = "<!-- TMPL_VAR ESCAPE="JS" NAME="authid" -->";
+                }
             <!--/TMPL_IF-->
             }
         }