Bug 12901: (QA followup) correct copy and paste error
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 28 Oct 2014 21:10:33 +0000 (18:10 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 30 Oct 2014 03:26:33 +0000 (00:26 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Works as described now, no problems found.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslimUtils.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl

index 273b42d..4f7efed 100644 (file)
                </xsl:if>
        </xsl:template>
 
-    <xsl:template name="buildBiblioDefaultViewURL">
-      <xsl:param name="BiblioDefaultView"/>
-      <xsl:choose>
-          <xsl:when test="$BiblioDefaultView='normal'">
-              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:when test="$BiblioDefaultView='isbd'">
-              <xsl:text>/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:when test="$BiblioDefaultView='labeled_marc'">
-              <xsl:text>/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:when test="$BiblioDefaultView='marc'">
-              <xsl:text>/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:otherwise>
-              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
-          </xsl:otherwise>
-      </xsl:choose>
-    </xsl:template>
+  <xsl:template name="buildBiblioDefaultViewURL">
+    <xsl:param name="BiblioDefaultView"/>
+    <xsl:choose>
+        <xsl:when test="$BiblioDefaultView='normal'">
+            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
+        </xsl:when>
+        <xsl:when test="$BiblioDefaultView='isbd'">
+            <xsl:text>/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=</xsl:text>
+        </xsl:when>
+        <xsl:when test="$BiblioDefaultView='marc'">
+            <xsl:text>/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
+        </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
 
        <xsl:template name="chopPunctuation">
                <xsl:param name="chopString"/>
index 7007d96..cb7d18f 100644 (file)
                </xsl:if>
        </xsl:template>
 
-    <xsl:template name="buildBiblioDefaultViewURL">
-      <xsl:param name="BiblioDefaultView"/>
-      <xsl:choose>
-          <xsl:when test="$BiblioDefaultView='normal'">
-              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:when test="$BiblioDefaultView='isbd'">
-              <xsl:text>/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:when test="$BiblioDefaultView='labeled_marc'">
-              <xsl:text>/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:when test="$BiblioDefaultView='marc'">
-              <xsl:text>/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:otherwise>
-              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
-          </xsl:otherwise>
-      </xsl:choose>
-    </xsl:template>
+  <xsl:template name="buildBiblioDefaultViewURL">
+    <xsl:param name="BiblioDefaultView"/>
+    <xsl:choose>
+        <xsl:when test="$BiblioDefaultView='normal'">
+            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
+        </xsl:when>
+        <xsl:when test="$BiblioDefaultView='isbd'">
+            <xsl:text>/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=</xsl:text>
+        </xsl:when>
+        <xsl:when test="$BiblioDefaultView='marc'">
+            <xsl:text>/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
+        </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
 
        <xsl:template name="chopPunctuation">
                <xsl:param name="chopString"/>
index 410c051..f48ff64 100644 (file)
   </xsl:template>
 
   <xsl:template name="buildBiblioDefaultViewURL">
-      <xsl:param name="BiblioDefaultView"/>
-      <xsl:choose>
-          <xsl:when test="$BiblioDefaultView='normal'">
-              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:when test="$BiblioDefaultView='isbd'">
-              <xsl:text>/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:when test="$BiblioDefaultView='labeled_marc'">
-              <xsl:text>/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:when test="$BiblioDefaultView='marc'">
-              <xsl:text>/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=</xsl:text>
-          </xsl:when>
-          <xsl:otherwise>
-              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
-          </xsl:otherwise>
-      </xsl:choose>
+    <xsl:param name="BiblioDefaultView"/>
+    <xsl:choose>
+        <xsl:when test="$BiblioDefaultView='normal'">
+            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
+        </xsl:when>
+        <xsl:when test="$BiblioDefaultView='isbd'">
+            <xsl:text>/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=</xsl:text>
+        </xsl:when>
+        <xsl:when test="$BiblioDefaultView='marc'">
+            <xsl:text>/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
+        </xsl:otherwise>
+    </xsl:choose>
   </xsl:template>
 
+
   <xsl:template name="chopPunctuation">
     <xsl:param name="chopString"/>
     <xsl:variable name="length" select="string-length($chopString)"/>