Lines 207-216
sub buildKohaItemsNamespace {
Link Here
|
207 |
$status = "available"; |
207 |
$status = "available"; |
208 |
} |
208 |
} |
209 |
my $homebranch = $branches->{$item->{homebranch}}->{'branchname'}; |
209 |
my $homebranch = $branches->{$item->{homebranch}}->{'branchname'}; |
|
|
210 |
my $itemcallnumber = $item->{itemcallnumber}; |
211 |
$itemcallnumber =~ s/\&/\&\;/g; |
210 |
$xml.= "<item><homebranch>$homebranch</homebranch>". |
212 |
$xml.= "<item><homebranch>$homebranch</homebranch>". |
211 |
"<status>$status</status>". |
213 |
"<status>$status</status>". |
212 |
(defined $item->{'itemcallnumber'} ? "<itemcallnumber>".$item->{'itemcallnumber'}."</itemcallnumber>" |
214 |
"<itemcallnumber>".$itemcallnumber."</itemcallnumber>" |
213 |
: "<itemcallnumber />") |
|
|
214 |
. "</item>"; |
215 |
. "</item>"; |
215 |
|
216 |
|
216 |
} |
217 |
} |
217 |
- |
|
|