[Koha-patches] [PATCH 03/12] MT3499 : cataloguing authid not reported

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Sat May 1 00:19:45 CEST 2010


authid would not be correctly updated in bibliorecord.
Biblio record would not receive the correct authid in subfield 9
but some erroneous data
---
 .../authorities/blinddetail-biblio-search.tmpl     |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl
index 931aaa5..f0bcb38 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl
@@ -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-->
             }
         }
-- 
1.6.3.3




More information about the Koha-patches mailing list