Bug 15460 Adding spaces after subfields c and h of 245
authorCaitlin Goodger <caitlingoodger.student@wegc.school.nz>
Tue, 17 Jan 2017 22:41:52 +0000 (22:41 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 19 Jan 2017 13:36:18 +0000 (13:36 +0000)
Test Plan
1: Add something inside c and h of 245 on a Bibliographic Record. There won't be a space between
the c and h
2: This will occur on both the search results and the details pages of
the record in both the intranet and opac.
3: Apply the patch
4: Refresh and see that there is now a space between c and h.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl

index 162c148..5ebecbf 100644 (file)
                         <xsl:choose>
                             <xsl:when test="@code='h'">
                                 <!--  13381 Span class around subfield h so it can be suppressed via css -->
-                                <span class="title_medium"><xsl:apply-templates/> </span>
+                                <span class="title_medium"><xsl:apply-templates/> <xsl:text> </xsl:text> </span>
                             </xsl:when>
                             <xsl:when test="@code='c'">
                                 <!--  13381 Span class around subfield c so it can be suppressed via css -->
-                                <span class="title_resp_stmt"><xsl:apply-templates/> </span>
+                                <span class="title_resp_stmt"><xsl:apply-templates/> <xsl:text> </xsl:text> </span>
                             </xsl:when>
                             <xsl:otherwise>
                                 <xsl:apply-templates/>
index 23af29c..6185c2d 100644 (file)
                     <xsl:choose>
                         <xsl:when test="@code='h'">
                             <!--  13381 Span class around subfield h so it can be suppressed via css -->
-                            <span class="title_medium"><xsl:apply-templates/> </span>
+                            <span class="title_medium"><xsl:apply-templates/> <xsl:text> </xsl:text> </span>
                         </xsl:when>
                         <xsl:when test="@code='c'">
                             <!--  13381 Span class around subfield c so it can be suppressed via css -->
-                            <span class="title_resp_stmt"><xsl:apply-templates/> </span>
+                            <span class="title_resp_stmt"><xsl:apply-templates/> <xsl:text> </xsl:text> </span>
                         </xsl:when>
                         <xsl:otherwise>
                             <xsl:apply-templates/>
index c62d004..6bc54b1 100644 (file)
                             <xsl:choose>
                                 <xsl:when test="@code='h'">
                                     <!--  13381 Span class around subfield h so it can be suppressed via css -->
-                                    <span class="title_medium"><xsl:apply-templates/> </span>
+                                    <span class="title_medium"><xsl:apply-templates/> <xsl:text> </xsl:text> </span>
                                 </xsl:when>
                                 <xsl:when test="@code='c'">
                                     <!--  13381 Span class around subfield c so it can be suppressed via css -->
-                                    <span class="title_resp_stmt"><xsl:apply-templates/> </span>
+                                    <span class="title_resp_stmt"><xsl:apply-templates/> <xsl:text> </xsl:text> </span>
                                 </xsl:when>
                                 <xsl:otherwise>
                                     <xsl:apply-templates/>
index 353b08e..7349b81 100644 (file)
                     <xsl:choose>
                         <xsl:when test="@code='h'">
                             <!--  13381 Span class around subfield h so it can be suppressed via css -->
-                            <span class="title_medium"><xsl:apply-templates/> </span>
+                            <span class="title_medium"><xsl:apply-templates/> <xsl:text> </xsl:text> </span>
                         </xsl:when>
                         <xsl:when test="@code='c'">
                             <!--  13381 Span class around subfield c so it can be suppressed via css -->
-                            <span class="title_resp_stmt"><xsl:apply-templates/> </span>
+                            <span class="title_resp_stmt"><xsl:apply-templates/> <xsl:text> </xsl:text> </span>
                         </xsl:when>
                         <xsl:otherwise>
                             <xsl:apply-templates/>