Bugzilla – Attachment 49134 Details for
Bug 8483
Borrower reading history should include deleted items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8483 - Move Koha::Biblioitem(s) to Koha::BiblioItem(s)
Bug-8483---Move-KohaBiblioitems-to-KohaBiblioItems.patch (text/plain), 3.32 KB, created by
Kyle M Hall (khall)
on 2016-03-14 17:51:35 UTC
(
hide
)
Description:
Bug 8483 - Move Koha::Biblioitem(s) to Koha::BiblioItem(s)
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-03-14 17:51:35 UTC
Size:
3.32 KB
patch
obsolete
>From 3f3fd026b521c78e275840cf07d469e5f3e11a72 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 14 Mar 2016 17:29:49 +0000 >Subject: [PATCH] Bug 8483 - Move Koha::Biblioitem(s) to Koha::BiblioItem(s) > >--- > 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%) > >diff --git a/Koha/Biblioitem.pm b/Koha/BiblioItem.pm >similarity index 92% >rename from Koha/Biblioitem.pm >rename to Koha/BiblioItem.pm >index 8d353c8..7186d46 100644 >--- a/Koha/Biblioitem.pm >+++ b/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 > >diff --git a/Koha/Biblioitems.pm b/Koha/BiblioItems.pm >similarity index 87% >rename from Koha/Biblioitems.pm >rename to Koha/BiblioItems.pm >index c4d6144..c7b963b 100644 >--- a/Koha/Biblioitems.pm >+++ b/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; >diff --git a/misc/export_records.pl b/misc/export_records.pl >index 2783542..4c05f04 100755 >--- a/misc/export_records.pl >+++ b/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; > } >diff --git a/tools/export.pl b/tools/export.pl >index efcd544..efa75b5 100755 >--- a/tools/export.pl >+++ b/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; > } >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8483
:
41013
|
41014
|
41015
|
41016
|
41017
|
41999
|
42000
|
42001
|
42787
|
42788
|
42789
|
42932
|
42935
|
42939
|
42940
|
42941
|
49129
|
49130
|
49131
|
49134
|
49135
|
49136
|
49137
|
49139
|
49140
|
49141
|
49142
|
49143
|
49144
|
49145