[Koha-bugs] [Bug 18369] Broken title link in UNIMARC catalog search results table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 16 09:17:06 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18369

--- Comment #8 from Paul Poulain <paul.poulain at biblibre.com> ---
Katrin, it's not changing the default mapping, it's just removing a hardcoding
of biblionumber in 001 in XSLT

Instead of building the biblionumber from hardcoded 001 field, this patch send
$biblionumber to the XSL, and uses it where needed :

Send the biblionumber as parameter:
+    my $kohavars =
"<koha>\n<biblionumber>$biblionumber</biblionumber>\n</koha>\n";

Instead of 001, us the $biblionumber:
-  <xsl:variable name="biblionumber" select="marc:controlfield[@tag=001]"/>
+  <xsl:variable name="biblionumber" select="marc:koha/marc:biblionumber"/>

PS: not sure the patch is perfect, complete or valid. But I 100% agree with the
fact that we must not assume that biblionumber is in 001.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list