Lines 120-131
sub get_items_that_can_fill {
Link Here
|
120 |
push @bibs_or_items, 'me.itemnumber' => { in => \@itemnumbers } if @itemnumbers; |
120 |
push @bibs_or_items, 'me.itemnumber' => { in => \@itemnumbers } if @itemnumbers; |
121 |
push @bibs_or_items, 'me.biblionumber' => { in => \@biblionumbers } if @biblionumbers; |
121 |
push @bibs_or_items, 'me.biblionumber' => { in => \@biblionumbers } if @biblionumbers; |
122 |
|
122 |
|
123 |
my @branchtransfers = Koha::Item::Transfers->search( |
123 |
my @branchtransfers = Koha::Item::Transfers->filter_by_current->search({}, { |
124 |
{ |
|
|
125 |
datearrived => undef, |
126 |
datecancelled => undef, |
127 |
}, |
128 |
{ |
129 |
columns => ['itemnumber'], |
124 |
columns => ['itemnumber'], |
130 |
collapse => 1, |
125 |
collapse => 1, |
131 |
} |
126 |
} |
132 |
- |
|
|