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

(-)a/Koha/Schema/Result/Branch.pm (+15 lines)
Lines 353-358 __PACKAGE__->has_many( Link Here
353
  { cascade_copy => 0, cascade_delete => 0 },
353
  { cascade_copy => 0, cascade_delete => 0 },
354
);
354
);
355
355
356
=head2 circulation_rules
357
358
Type: has_many
359
360
Related object: L<Koha::Schema::Result::CirculationRule>
361
362
=cut
363
364
__PACKAGE__->has_many(
365
  "circulation_rules",
366
  "Koha::Schema::Result::CirculationRule",
367
  { "foreign.branchcode" => "self.branchcode" },
368
  { cascade_copy => 0, cascade_delete => 0 },
369
);
370
356
=head2 club_enrollments
371
=head2 club_enrollments
357
372
358
Type: has_many
373
Type: has_many
(-)a/Koha/Schema/Result/Category.pm (+15 lines)
Lines 251-256 __PACKAGE__->has_many( Link Here
251
  { cascade_copy => 0, cascade_delete => 0 },
251
  { cascade_copy => 0, cascade_delete => 0 },
252
);
252
);
253
253
254
=head2 circulation_rules
255
256
Type: has_many
257
258
Related object: L<Koha::Schema::Result::CirculationRule>
259
260
=cut
261
262
__PACKAGE__->has_many(
263
  "circulation_rules",
264
  "Koha::Schema::Result::CirculationRule",
265
  { "foreign.categorycode" => "self.categorycode" },
266
  { cascade_copy => 0, cascade_delete => 0 },
267
);
268
254
=head2 default_borrower_circ_rule
269
=head2 default_borrower_circ_rule
255
270
256
Type: might_have
271
Type: might_have
(-)a/Koha/Schema/Result/CirculationRule.pm (-4 / +4 lines)
Lines 135-147 __PACKAGE__->belongs_to( Link Here
135
135
136
Type: belongs_to
136
Type: belongs_to
137
137
138
Related object: L<Koha::Schema::Result::Branchcategory>
138
Related object: L<Koha::Schema::Result::Category>
139
139
140
=cut
140
=cut
141
141
142
__PACKAGE__->belongs_to(
142
__PACKAGE__->belongs_to(
143
  "categorycode",
143
  "categorycode",
144
  "Koha::Schema::Result::Branchcategory",
144
  "Koha::Schema::Result::Category",
145
  { categorycode => "categorycode" },
145
  { categorycode => "categorycode" },
146
  {
146
  {
147
    is_deferrable => 1,
147
    is_deferrable => 1,
Lines 172-179 __PACKAGE__->belongs_to( Link Here
172
);
172
);
173
173
174
174
175
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-06 17:39:41
175
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-28 04:08:15
176
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SZuAUJSu+FICBAxyxIcJQA
176
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cp5jbv46L3LtPVxSla8dpA
177
177
178
178
179
# You can replace this text with custom code or comments, and it will be preserved on regeneration
179
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Itemtype.pm (-1 / +15 lines)
Lines 165-170 __PACKAGE__->has_many( Link Here
165
  { cascade_copy => 0, cascade_delete => 0 },
165
  { cascade_copy => 0, cascade_delete => 0 },
166
);
166
);
167
167
168
=head2 circulation_rules
169
170
Type: has_many
171
172
Related object: L<Koha::Schema::Result::CirculationRule>
173
174
=cut
175
176
__PACKAGE__->has_many(
177
  "circulation_rules",
178
  "Koha::Schema::Result::CirculationRule",
179
  { "foreign.itemtype" => "self.itemtype" },
180
  { cascade_copy => 0, cascade_delete => 0 },
181
);
182
168
=head2 default_branch_item_rule
183
=head2 default_branch_item_rule
169
184
170
Type: might_have
185
Type: might_have
171
- 

Return to bug 18887