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

(-)a/Koha/Schema/Result/Issue.pm (-14 / +1 lines)
Lines 464-486 Related object: L<Koha::Schema::Result::PatronQuotaUsage> Link Here
464
=cut
464
=cut
465
465
466
__PACKAGE__->has_many(
466
__PACKAGE__->has_many(
467
    'quota_usages' => 'MyApp::Schema::Result::PatronQuotaUsage',
467
    'quota_usages' => 'Koha::Schema::Result::PatronQuotaUsage',
468
    'issue_id'
468
    'issue_id'
469
);
469
);
470
470
471
=head2 quotas
472
473
Type: many_to_many
474
475
Related object: L<Koha::Schema::Result::PatronQuota>
476
477
=cut
478
479
__PACKAGE__->many_to_many(
480
    'patron_quotas' => 'patron_quota_usages',
481
    'patron_quota'
482
);
483
484
sub koha_object_class {
471
sub koha_object_class {
485
    'Koha::Checkout';
472
    'Koha::Checkout';
486
}
473
}
(-)a/Koha/Schema/Result/PatronQuotaUsage.pm (-1 / +27 lines)
Lines 145-150 __PACKAGE__->belongs_to( Link Here
145
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-11-06 17:47:10
145
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-11-06 17:47:10
146
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hxeHkoIaFwVoiLReL04/4A
146
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hxeHkoIaFwVoiLReL04/4A
147
147
148
=head2 issue
149
150
Type: belongs_to
151
152
Related object: L<Koha::Schema::Result::Issue>
153
154
=cut
155
156
__PACKAGE__->belongs_to(
157
    issue => 'Koha::Schema::Result::Issue',
158
    'issue_id',
159
    { join_type => 'left' }
160
);
161
162
=head2 old_issue
163
164
Type: belongs_to
165
166
Related object: L<Koha::Schema::Result::OldIssue>
167
168
=cut
169
170
__PACKAGE__->belongs_to(
171
    old_issue => 'Koha::Schema::Result::OldIssue',
172
    'issue_id',
173
    { join_type => 'left' }
174
);
148
175
149
# You can replace this text with custom code or comments, and it will be preserved on regeneration
176
# You can replace this text with custom code or comments, and it will be preserved on regeneration
150
1;
177
1;
151
- 

Return to bug 38924