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

--- Comment #8 from Paul Poulain <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to