Lines 222-227
sub filter_by_bookable {
Link Here
|
222 |
); |
222 |
); |
223 |
} |
223 |
} |
224 |
|
224 |
|
|
|
225 |
=head3 filter_by_checked_out |
226 |
|
227 |
my $filterd_items = $items->filter_by_checked_out(); |
228 |
|
229 |
Returns a new resultset, containing only those items that are checked out. |
230 |
|
231 |
=cut |
232 |
|
233 |
sub filter_by_checked_out { |
234 |
my ($self) = @_; |
235 |
|
236 |
return $self->search( |
237 |
{ issue_id => { '!=' => undef } }, |
238 |
{ join => 'issue' } |
239 |
); |
240 |
} |
241 |
|
225 |
=head3 move_to_biblio |
242 |
=head3 move_to_biblio |
226 |
|
243 |
|
227 |
$items->move_to_biblio($to_biblio); |
244 |
$items->move_to_biblio($to_biblio); |
228 |
- |
|
|