@@ -, +, @@ --- Koha/{Biblioitem.pm => BiblioItem.pm} | 4 ++-- Koha/{Biblioitems.pm => BiblioItems.pm} | 8 ++++---- misc/export_records.pl | 4 ++-- tools/export.pl | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) rename Koha/{Biblioitem.pm => BiblioItem.pm} (92%) rename Koha/{Biblioitems.pm => BiblioItems.pm} (87%) --- a/Koha/Biblioitem.pm +++ a/Koha/Biblioitem.pm @@ -1,4 +1,4 @@ -package Koha::Biblioitem; +package Koha::BiblioItem; # This file is part of Koha. # @@ -25,7 +25,7 @@ use base qw(Koha::Object); =head1 NAME -Koha::Biblioitem - Koha Biblioitem Object class +Koha::BiblioItem - Koha BiblioItem Object class =head1 API --- a/Koha/Biblioitems.pm +++ a/Koha/Biblioitems.pm @@ -1,4 +1,4 @@ -package Koha::Biblioitems; +package Koha::BiblioItems; # This file is part of Koha. # @@ -21,13 +21,13 @@ use Carp; use Koha::Database; -use Koha::Biblioitem; +use Koha::BiblioItem; use base qw(Koha::Objects); =head1 NAME -Koha::Biblioitem - Koha Biblioitem Object class +Koha::BiblioItem - Koha BiblioItem Object class =head1 API @@ -44,7 +44,7 @@ sub _type { } sub object_class { - return 'Koha::Biblioitem'; + return 'Koha::BiblioItem'; } 1; --- a/misc/export_records.pl +++ a/misc/export_records.pl @@ -27,7 +27,7 @@ use C4::Context; use C4::Csv; use C4::Record; -use Koha::Biblioitems; +use Koha::BiblioItems; use Koha::Database; use Koha::Exporter::Record; use Koha::DateUtils qw( dt_from_string output_pref ); @@ -149,7 +149,7 @@ if ( $record_type eq 'bibs' ) { ), }; - my $biblioitems = Koha::Biblioitems->search( $conditions, { join => 'items' } ); + my $biblioitems = Koha::BiblioItems->search( $conditions, { join => 'items' } ); while ( my $biblioitem = $biblioitems->next ) { push @record_ids, $biblioitem->biblionumber; } --- a/tools/export.pl +++ a/tools/export.pl @@ -27,7 +27,7 @@ use C4::Koha; # GetItemTypes use C4::Output; use Koha::Authority::Types; -use Koha::Biblioitems; +use Koha::BiblioItems; use Koha::Database; use Koha::DateUtils qw( dt_from_string output_pref ); use Koha::Exporter::Record; @@ -148,7 +148,7 @@ if ( $op eq "export" ) { ), }; - my $biblioitems = Koha::Biblioitems->search( $conditions, { join => 'items' } ); + my $biblioitems = Koha::BiblioItems->search( $conditions, { join => 'items' } ); while ( my $biblioitem = $biblioitems->next ) { push @record_ids, $biblioitem->biblionumber; } --