Bugzilla – Attachment 103157 Details for
Bug 15985
Include checkout library in fines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15985: Move dbic relationship to correct part of file
Bug-15985-Move-dbic-relationship-to-correct-part-o.patch (text/plain), 1.74 KB, created by
Kyle M Hall (khall)
on 2020-04-17 13:17:38 UTC
(
hide
)
Description:
Bug 15985: Move dbic relationship to correct part of file
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-04-17 13:17:38 UTC
Size:
1.74 KB
patch
obsolete
>From 0d2f8bf422b77548c80605420383a67cc708ae18 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 17 Apr 2020 09:11:20 -0400 >Subject: [PATCH] Bug 15985: Move dbic relationship to correct part of file > >--- > Koha/Old/Checkout.pm | 2 +- > Koha/Old/Checkouts.pm | 2 +- > Koha/Schema/Result/OldIssue.pm | 11 +++++++++++ > 3 files changed, 13 insertions(+), 2 deletions(-) > >diff --git a/Koha/Old/Checkout.pm b/Koha/Old/Checkout.pm >index eab58be484..e6c58d53a7 100644 >--- a/Koha/Old/Checkout.pm >+++ b/Koha/Old/Checkout.pm >@@ -20,7 +20,7 @@ use Modern::Perl; > use Koha::Database; > use Koha::DateUtils qw(dt_from_string); > >-use base qw(Koha::Object); >+use base qw(Koha::Checkout); > > =head1 NAME > >diff --git a/Koha/Old/Checkouts.pm b/Koha/Old/Checkouts.pm >index af598efab1..ed961428cc 100644 >--- a/Koha/Old/Checkouts.pm >+++ b/Koha/Old/Checkouts.pm >@@ -20,7 +20,7 @@ use Modern::Perl; > use Koha::Database; > use Koha::Old::Checkout; > >-use base qw(Koha::Objects); >+use base qw(Koha::Checkouts); > > sub _type { > return 'OldIssue'; >diff --git a/Koha/Schema/Result/OldIssue.pm b/Koha/Schema/Result/OldIssue.pm >index a0e2fc59aa..5a9251da13 100644 >--- a/Koha/Schema/Result/OldIssue.pm >+++ b/Koha/Schema/Result/OldIssue.pm >@@ -237,6 +237,17 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E2N2paWcCHg916100ry+2A > >+__PACKAGE__->belongs_to( >+ "branch", >+ "Koha::Schema::Result::Branch", >+ { branchcode => "branchcode" }, >+ { >+ is_deferrable => 1, >+ join_type => "LEFT", >+ }, >+); >+ >+ > __PACKAGE__->add_columns( > '+auto_renew' => { is_boolean => 1 }, > '+onsite_checkout' => { is_boolean => 1 } >-- >2.24.2 (Apple Git-127)
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 15985
:
58157
|
58163
|
71165
|
72611
|
72612
|
90317
|
90318
|
90364
|
90478
|
97177
|
97178
|
97179
|
97180
|
99821
|
99822
|
99823
|
99824
|
99825
|
103152
|
103153
|
103154
|
103155
|
103156
| 103157 |
104491
|
104492
|
105144
|
105398