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 Galen Charlton
parent 538ce7b2e3
commit acd431f55d
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>";
}