Lines 44-49
use Koha::Item::Transfer::Limits;
Link Here
|
44 |
use Koha::Items; |
44 |
use Koha::Items; |
45 |
use Koha::Libraries; |
45 |
use Koha::Libraries; |
46 |
use Koha::Old::Checkouts; |
46 |
use Koha::Old::Checkouts; |
|
|
47 |
use Koha::Ratings; |
47 |
use Koha::Recalls; |
48 |
use Koha::Recalls; |
48 |
use Koha::RecordProcessor; |
49 |
use Koha::RecordProcessor; |
49 |
use Koha::Suggestions; |
50 |
use Koha::Suggestions; |
Lines 1550-1555
sub can_be_recalled {
Link Here
|
1550 |
return @items; |
1551 |
return @items; |
1551 |
} |
1552 |
} |
1552 |
|
1553 |
|
|
|
1554 |
=head3 ratings |
1555 |
|
1556 |
my $ratings = $biblio->ratings |
1557 |
|
1558 |
Return a Koha::Ratings object representing the ratings of this bibliographic record |
1559 |
|
1560 |
=cut |
1561 |
|
1562 |
sub ratings { |
1563 |
my ( $self ) = @_; |
1564 |
my $rs = $self->_result->ratings; |
1565 |
return Koha::Ratings->_new_from_dbic($rs); |
1566 |
} |
1567 |
|
1553 |
=head2 Internal methods |
1568 |
=head2 Internal methods |
1554 |
|
1569 |
|
1555 |
=head3 type |
1570 |
=head3 type |
1556 |
- |
|
|