Adds the ability to reference itemcallnumber within XSLT

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Joshua Ferraro 2008-12-23 16:17:58 -06:00 committed by Henri-Damien LAURENT
parent babf36ec9c
commit 60b91f65c9
1 changed files with 4 additions and 1 deletions

View File

@ -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>";
}