|
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 1530-1535
sub can_be_recalled {
Link Here
|
| 1530 |
return @items; |
1531 |
return @items; |
| 1531 |
} |
1532 |
} |
| 1532 |
|
1533 |
|
|
|
1534 |
=head3 ratings |
| 1535 |
|
| 1536 |
my $ratings = $biblio->ratings |
| 1537 |
|
| 1538 |
Return a Koha::Ratings object representing the ratings of this bibliographic record |
| 1539 |
|
| 1540 |
=cut |
| 1541 |
|
| 1542 |
sub ratings { |
| 1543 |
my ( $self ) = @_; |
| 1544 |
my $rs = $self->_result->ratings; |
| 1545 |
return Koha::Ratings->_new_from_dbic($rs); |
| 1546 |
} |
| 1547 |
|
| 1533 |
=head2 Internal methods |
1548 |
=head2 Internal methods |
| 1534 |
|
1549 |
|
| 1535 |
=head3 type |
1550 |
=head3 type |
| 1536 |
- |
|
|