Bug 19532: (QA follow-up) POD and import fixes
This fixes some library imports and POD. To test: 1. Apply this patch 2. Run the tests => SUCCESS: No change 3. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
514cbb809a
commit
16f19f13eb
|
|
@ -1164,7 +1164,7 @@ sub get_marc_host {
|
|||
|
||||
=head3 recalls
|
||||
|
||||
my @recalls = $biblio->recalls;
|
||||
my $recalls = $biblio->recalls;
|
||||
|
||||
Return recalls linked to this biblio
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,10 @@ use Modern::Perl;
|
|||
|
||||
use Koha::Database;
|
||||
use Koha::DateUtils qw( dt_from_string );
|
||||
use Koha::Patron;
|
||||
use Koha::Biblio;
|
||||
use Koha::Item;
|
||||
use Koha::Biblios;
|
||||
use Koha::Items;
|
||||
use Koha::Libraries;
|
||||
use Koha::Patrons;
|
||||
|
||||
use base qw(Koha::Object);
|
||||
|
||||
|
|
@ -33,7 +34,7 @@ Koha::Recall - Koha Recall Object class
|
|||
|
||||
=head1 API
|
||||
|
||||
=head2 Internal methods
|
||||
=head2 Class methods
|
||||
|
||||
=cut
|
||||
|
||||
|
|
@ -92,8 +93,9 @@ Returns the related Koha::Library object for this recall.
|
|||
|
||||
sub library {
|
||||
my ( $self ) = @_;
|
||||
$self->{_library} = Koha::Libraries->find( $self->branchcode );
|
||||
return $self->{_library};
|
||||
my $library_rs = $self->_result->branch;
|
||||
return unless $library_rs;
|
||||
return Koha::Library->_new_from_dbic( $library_rs );
|
||||
}
|
||||
|
||||
=head3 checkout
|
||||
|
|
@ -459,6 +461,8 @@ sub set_fulfilled {
|
|||
return $self;
|
||||
}
|
||||
|
||||
=head2 Internal methods
|
||||
|
||||
=head3 _type
|
||||
|
||||
=cut
|
||||
|
|
|
|||
Loading…
Reference in New Issue