View | Details | Raw Unified | Return to bug 17435
Collapse All | Expand All

(-)a/C4/XSLT.pm (-1 / +2 lines)
Lines 322-327 sub buildKohaItemsNamespace { Link Here
322
        $location = $item->{location}? xml_escape($shelflocations->{$item->{location}}||$item->{location}):'';
322
        $location = $item->{location}? xml_escape($shelflocations->{$item->{location}}||$item->{location}):'';
323
        $ccode = $item->{ccode}? xml_escape($ccodes->{$item->{ccode}}||$item->{ccode}):'';
323
        $ccode = $item->{ccode}? xml_escape($ccodes->{$item->{ccode}}||$item->{ccode}):'';
324
        my $itemcallnumber = xml_escape($item->{itemcallnumber});
324
        my $itemcallnumber = xml_escape($item->{itemcallnumber});
325
        my $stocknumber = $item->{stocknumber}? xml_escape($item->{stocknumber}):'';
325
        $xml .=
326
        $xml .=
326
            "<item>"
327
            "<item>"
327
          . "<homebranch>$homebranch</homebranch>"
328
          . "<homebranch>$homebranch</homebranch>"
Lines 330-335 sub buildKohaItemsNamespace { Link Here
330
          . "<ccode>$ccode</ccode>"
331
          . "<ccode>$ccode</ccode>"
331
          . "<status>$status</status>"
332
          . "<status>$status</status>"
332
          . "<itemcallnumber>$itemcallnumber</itemcallnumber>"
333
          . "<itemcallnumber>$itemcallnumber</itemcallnumber>"
334
          . "<stocknumber>$stocknumber</stocknumber>"
333
          . "</item>";
335
          . "</item>";
334
    }
336
    }
335
    $xml = "<items xmlns=\"http://www.koha-community.org/items\">".$xml."</items>";
337
    $xml = "<items xmlns=\"http://www.koha-community.org/items\">".$xml."</items>";
336
- 

Return to bug 17435