View | Details | Raw Unified | Return to bug 17736
Collapse All | Expand All

(-)a/Koha/Biblio.pm (-3 / +2 lines)
Lines 21-27 use Modern::Perl; Link Here
21
21
22
use Carp;
22
use Carp;
23
23
24
use C4::Biblio qw( GetRecordValue GetMarcBiblio GetFrameworkCode );
24
use C4::Biblio qw();
25
25
26
use Koha::Database;
26
use Koha::Database;
27
use Koha::DateUtils qw( dt_from_string );
27
use Koha::DateUtils qw( dt_from_string );
Lines 57-63 Keyword to MARC mapping for subtitle must be set for this method to return any p Link Here
57
sub subtitles {
57
sub subtitles {
58
    my ( $self ) = @_;
58
    my ( $self ) = @_;
59
59
60
    return map { $_->{subfield} } @{ GetRecordValue( 'subtitle', GetMarcBiblio( $self->id ), $self->frameworkcode ) };
60
    return map { $_->{subfield} } @{ C4::Biblio::GetRecordValue( 'subtitle', C4::Biblio::GetMarcBiblio( $self->id ), $self->frameworkcode ) };
61
}
61
}
62
62
63
=head3 can_article_request
63
=head3 can_article_request
64
- 

Return to bug 17736