Adds the ability to reference itemcallnumber within XSLT
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
babf36ec9c
commit
60b91f65c9
|
|
@ -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>";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue