Lines 326-332
sub items {
Link Here
|
326 |
# There is no FK on items (may have been deleted) |
326 |
# There is no FK on items (may have been deleted) |
327 |
my $items_rs = $self->_result->aqorders_items; |
327 |
my $items_rs = $self->_result->aqorders_items; |
328 |
my @itemnumbers = $items_rs->get_column( 'itemnumber' )->all; |
328 |
my @itemnumbers = $items_rs->get_column( 'itemnumber' )->all; |
329 |
return Koha::Items->search({ itemnumber => \@itemnumbers }); |
329 |
return scalar Koha::Items->search({ itemnumber => \@itemnumbers }); # forcing scalar context for 21.11 prevents crash |
330 |
} |
330 |
} |
331 |
|
331 |
|
332 |
=head3 biblio |
332 |
=head3 biblio |
333 |
- |
|
|