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

(-)a/Koha/Old/Checkout.pm (-1 / +1 lines)
Lines 20-26 use Modern::Perl; Link Here
20
use Koha::Database;
20
use Koha::Database;
21
use Koha::DateUtils qw(dt_from_string);
21
use Koha::DateUtils qw(dt_from_string);
22
22
23
use base qw(Koha::Object);
23
use base qw(Koha::Checkout);
24
24
25
=head1 NAME
25
=head1 NAME
26
26
(-)a/Koha/Old/Checkouts.pm (-1 / +1 lines)
Lines 20-26 use Modern::Perl; Link Here
20
use Koha::Database;
20
use Koha::Database;
21
use Koha::Old::Checkout;
21
use Koha::Old::Checkout;
22
22
23
use base qw(Koha::Objects);
23
use base qw(Koha::Checkouts);
24
24
25
sub _type {
25
sub _type {
26
    return 'OldIssue';
26
    return 'OldIssue';
(-)a/Koha/Schema/Result/OldIssue.pm (-1 / +11 lines)
Lines 237-242 __PACKAGE__->belongs_to( Link Here
237
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44
237
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44
238
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E2N2paWcCHg916100ry+2A
238
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E2N2paWcCHg916100ry+2A
239
239
240
__PACKAGE__->belongs_to(
241
  "branch",
242
  "Koha::Schema::Result::Branch",
243
  { branchcode => "branchcode" },
244
  {
245
    is_deferrable => 1,
246
    join_type     => "LEFT",
247
  },
248
);
249
250
240
__PACKAGE__->add_columns(
251
__PACKAGE__->add_columns(
241
    '+auto_renew'      => { is_boolean => 1 },
252
    '+auto_renew'      => { is_boolean => 1 },
242
    '+onsite_checkout' => { is_boolean => 1 }
253
    '+onsite_checkout' => { is_boolean => 1 }
243
- 

Return to bug 15985