Merge branch 'bug_10006' into 3.14-master

This commit is contained in:
Jared Camins-Esakov 2013-04-25 22:14:26 -04:00
commit c98d65adf7

View file

@ -280,10 +280,12 @@ sub buildKohaItemsNamespace {
$status = "available";
}
my $homebranch = $item->{homebranch}? xml_escape($branches->{$item->{homebranch}}->{'branchname'}):'';
my $holdingbranch = $item->{holdingbranch}? xml_escape($branches->{$item->{holdingbranch}}->{'branchname'}):'';
$location = $item->{location}? xml_escape($shelflocations->{$item->{location}}):'';
$ccode = $item->{ccode}? xml_escape($ccodes->{$item->{ccode}}):'';
my $itemcallnumber = xml_escape($item->{itemcallnumber});
$xml.= "<item><homebranch>$homebranch</homebranch>".
"<holdingbranch>$holdingbranch</holdingbranch>".
"<location>$location</location>".
"<ccode>$ccode</ccode>".
"<status>$status</status>".