[Koha-patches] [PATCH] Adds the ability to reference itemcallnumber within XSLT
Joshua Ferraro
jmf at liblime.com
Tue Dec 23 23:17:58 CET 2008
---
C4/XSLT.pm | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/C4/XSLT.pm b/C4/XSLT.pm
index 3c781d2..eeb2ec7 100644
--- a/C4/XSLT.pm
+++ b/C4/XSLT.pm
@@ -160,7 +160,10 @@ sub buildKohaItemsNamespace {
} else {
$status = "available";
}
- $xml.="<item><homebranch>".$branches->{$item->{homebranch}}->{'branchname'}."</homebranch>"."<status>$status</status></item>";
+ $xml.="<item><homebranch>".$branches->{$item->{homebranch}}->{'branchname'}."</homebranch>".
+ "<status>$status</status>".
+ "<itemcallnumber>".$item->{'itemcallnumber'}."</itemcallnumber></item>";
+
}
return "<items xmlns='http://www.koha.org/items'>".$xml."</items>";
}
--
1.5.5.GIT
More information about the Koha-patches
mailing list