Lines 1345-1358
sub Item2Marc {
Link Here
|
1345 |
|
1345 |
|
1346 |
=head2 GetMarcItemFields |
1346 |
=head2 GetMarcItemFields |
1347 |
|
1347 |
|
1348 |
my @marc_fields = GetMarcItemFields($biblionumber); |
1348 |
my @marc_fields = GetMarcItemFields($biblionumber); |
1349 |
|
1349 |
|
1350 |
Returns an array of MARC::Record objects of the items for the biblio. |
1350 |
Returns an array of MARC::Record objects of the items for the biblio. |
1351 |
|
1351 |
|
1352 |
=cut |
1352 |
=cut |
1353 |
|
1353 |
|
1354 |
sub GetMarcItemFields { |
1354 |
sub GetMarcItemFields { |
1355 |
my ( $biblionumber, $itemnumbers, $hidingrules ) = @_; |
1355 |
my ( $biblionumber, $itemnumbers, $hidingrules ) = @_; |
1356 |
|
1356 |
|
1357 |
my $item_level_itype = C4::Context->preference('item-level_itypes'); |
1357 |
my $item_level_itype = C4::Context->preference('item-level_itypes'); |
1358 |
# This is so much faster than using Koha::Items->search that it makes sense even if it's ugly. |
1358 |
# This is so much faster than using Koha::Items->search that it makes sense even if it's ugly. |
1359 |
- |
|
|