From 9645f84d7efc8184d1fb0a21a2868e10237dbb80 Mon Sep 17 00:00:00 2001 From: kohamaster Date: Wed, 12 Oct 2016 16:17:04 +0200 Subject: [PATCH] Bug_17435 Gives ability to display stocknumber in search results Adds stocknumber to data provided for xslt transformation --- C4/XSLT.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 534226c..979c48c 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -322,6 +322,7 @@ sub buildKohaItemsNamespace { $location = $item->{location}? xml_escape($shelflocations->{$item->{location}}||$item->{location}):''; $ccode = $item->{ccode}? xml_escape($ccodes->{$item->{ccode}}||$item->{ccode}):''; my $itemcallnumber = xml_escape($item->{itemcallnumber}); + my $stocknumber = $item->{stocknumber}? xml_escape($item->{stocknumber}):''; $xml .= "" . "$homebranch" @@ -330,6 +331,7 @@ sub buildKohaItemsNamespace { . "$ccode" . "$status" . "$itemcallnumber" + . "$stocknumber" . ""; } $xml = "".$xml.""; -- 2.1.4