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

(-)a/Koha/Schema/Result/Branch.pm (-2 / +17 lines)
Lines 360-365 __PACKAGE__->has_many( Link Here
360
  { cascade_copy => 0, cascade_delete => 0 },
360
  { cascade_copy => 0, cascade_delete => 0 },
361
);
361
);
362
362
363
=head2 circulation_rules
364
365
Type: has_many
366
367
Related object: L<Koha::Schema::Result::CirculationRule>
368
369
=cut
370
371
__PACKAGE__->has_many(
372
  "circulation_rules",
373
  "Koha::Schema::Result::CirculationRule",
374
  { "foreign.branchcode" => "self.branchcode" },
375
  { cascade_copy => 0, cascade_delete => 0 },
376
);
377
363
=head2 club_enrollments
378
=head2 club_enrollments
364
379
365
Type: has_many
380
Type: has_many
Lines 596-603 Composing rels: L</branchrelations> -> categorycode Link Here
596
__PACKAGE__->many_to_many("categorycodes", "branchrelations", "categorycode");
611
__PACKAGE__->many_to_many("categorycodes", "branchrelations", "categorycode");
597
612
598
613
599
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-26 16:17:25
614
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-28 04:08:15
600
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:99U1YQ4iSum4LbBha4hDTQ
615
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gRtifDOxndV9CLNpFr0XpQ
601
616
602
617
603
# You can replace this text with custom code or comments, and it will be preserved on regeneration
618
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Category.pm (-2 / +17 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
Lines 267-274 __PACKAGE__->might_have( Link Here
267
);
282
);
268
283
269
284
270
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-07-08 13:37:33
285
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-28 04:08:15
271
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LH3DdDDYXaGsNsILAUZzng
286
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Bb9BvkU4r6/J8rD9z2sDrA
272
287
273
288
274
# You can replace this text with custom content, and it will be preserved on regeneration
289
# You can replace this text with custom content, and it will be preserved on regeneration
(-)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 (-3 / +17 lines)
Lines 149-154 __PACKAGE__->has_many( Link Here
149
  { cascade_copy => 0, cascade_delete => 0 },
149
  { cascade_copy => 0, cascade_delete => 0 },
150
);
150
);
151
151
152
=head2 circulation_rules
153
154
Type: has_many
155
156
Related object: L<Koha::Schema::Result::CirculationRule>
157
158
=cut
159
160
__PACKAGE__->has_many(
161
  "circulation_rules",
162
  "Koha::Schema::Result::CirculationRule",
163
  { "foreign.itemtype" => "self.itemtype" },
164
  { cascade_copy => 0, cascade_delete => 0 },
165
);
166
152
=head2 default_branch_item_rule
167
=head2 default_branch_item_rule
153
168
154
Type: might_have
169
Type: might_have
Lines 195-202 __PACKAGE__->has_many( Link Here
195
);
210
);
196
211
197
212
198
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
213
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-28 04:08:15
199
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1GiikODklVISOurHX37qjA
214
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7o86hHDFdmHShwhJ/iIzew
200
215
201
# Use the ItemtypeLocalization view to create the join on localization
216
# Use the ItemtypeLocalization view to create the join on localization
202
our $LANGUAGE;
217
our $LANGUAGE;
203
- 

Return to bug 18887