|
Lines 599-605
sub search {
Link Here
|
| 599 |
} |
599 |
} |
| 600 |
if ( $status eq 'not_for_loan' ) { |
600 |
if ( $status eq 'not_for_loan' ) { |
| 601 |
my @item_types_notforloan = Koha::ItemTypes->search( { notforloan => { '!=' => 0 } } )->get_column('itemtype'); |
601 |
my @item_types_notforloan = Koha::ItemTypes->search( { notforloan => { '!=' => 0 } } )->get_column('itemtype'); |
| 602 |
$self = $self->search( [ { notforloan => { '>' => 0 } }, { 'me.itype' => \@item_types_notforloan } ] ); |
602 |
$self = $self->search( [ { notforloan => { '!=' => 0 } }, { 'me.itype' => \@item_types_notforloan } ] ); |
| 603 |
} |
603 |
} |
| 604 |
if ( $status eq 'on_hold' ) { |
604 |
if ( $status eq 'on_hold' ) { |
| 605 |
$self = $self->filter_by_has_holds; |
605 |
$self = $self->filter_by_has_holds; |
| 606 |
- |
|
|