View | Details | Raw Unified | Return to bug 5075
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl (-1 / +1 lines)
Lines 90-96 function highlightOn() { Link Here
90
    for (x in q_array) {
90
    for (x in q_array) {
91
    	$(".title").highlight(q_array[x]);
91
    	$(".title").highlight(q_array[x]);
92
    	$(".author").highlight(q_array[x]);
92
    	$(".author").highlight(q_array[x]);
93
        $(".result_summary").highlight(q_array[x]);
93
        $(".results_summary").highlight(q_array[x]);
94
    }
94
    }
95
    $(".highlight_toggle").toggle();
95
    $(".highlight_toggle").toggle();
96
}
96
}
(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl (-3 / +3 lines)
Lines 391-397 Link Here
391
           </xsl:call-template>
391
           </xsl:call-template>
392
        </xsl:if>
392
        </xsl:if>
393
393
394
     	<a><xsl:attribute name="href">/cgi-bin/koha/opac-detail.pl?biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
394
        <a><xsl:attribute name="href">/cgi-bin/koha/opac-detail.pl?biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute><xsl:attribute name="class">title</xsl:attribute>
395
395
396
        <xsl:if test="marc:datafield[@tag=245]">
396
        <xsl:if test="marc:datafield[@tag=245]">
397
        <xsl:for-each select="marc:datafield[@tag=245]">
397
        <xsl:for-each select="marc:datafield[@tag=245]">
Lines 440-446 Link Here
440
    <xsl:choose>
440
    <xsl:choose>
441
    <xsl:when test="marc:datafield[@tag=100] or marc:datafield[@tag=110] or marc:datafield[@tag=111] or marc:datafield[@tag=700] or marc:datafield[@tag=710] or marc:datafield[@tag=711]">
441
    <xsl:when test="marc:datafield[@tag=100] or marc:datafield[@tag=110] or marc:datafield[@tag=111] or marc:datafield[@tag=700] or marc:datafield[@tag=710] or marc:datafield[@tag=711]">
442
442
443
    by 
443
    by <span class="author">
444
        <xsl:for-each select="marc:datafield[@tag=100 or @tag=700]">
444
        <xsl:for-each select="marc:datafield[@tag=100 or @tag=700]">
445
            <xsl:choose>
445
            <xsl:choose>
446
            <xsl:when test="position()=last()">
446
            <xsl:when test="position()=last()">
Lines 492-497 Link Here
492
            </xsl:otherwise>
492
            </xsl:otherwise>
493
            </xsl:choose>
493
            </xsl:choose>
494
        </xsl:for-each>
494
        </xsl:for-each>
495
    </span>
495
    </xsl:when>
496
    </xsl:when>
496
    </xsl:choose>
497
    </xsl:choose>
497
    </p>
498
    </p>
498
- 

Return to bug 5075