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

(-)a/Koha/Schema/Result/Biblio.pm (-4 / +15 lines)
Lines 139-144 the date this record was added to Koha Link Here
139
139
140
summary from the MARC record (520$a in MARC21)
140
summary from the MARC record (520$a in MARC21)
141
141
142
=head2 opac_suppressed
143
144
  data_type: 'tinyint'
145
  default_value: 0
146
  is_nullable: 0
147
148
whether the record should be suppressed in the OPAC
149
142
=cut
150
=cut
143
151
144
__PACKAGE__->add_columns(
152
__PACKAGE__->add_columns(
Lines 179-184 __PACKAGE__->add_columns( Link Here
179
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 },
187
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 },
180
  "abstract",
188
  "abstract",
181
  { data_type => "longtext", is_nullable => 1 },
189
  { data_type => "longtext", is_nullable => 1 },
190
  "opac_suppressed",
191
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
182
);
192
);
183
193
184
=head1 PRIMARY KEY
194
=head1 PRIMARY KEY
Lines 631-638 __PACKAGE__->has_many( Link Here
631
);
641
);
632
642
633
643
634
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-07-31 14:45:08
644
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-12-18 12:10:28
635
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rLzlHl6jAwBmgmiXavpP0w
645
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QXaEHXqH2ApC+F22zo7gXA
636
646
637
__PACKAGE__->has_many(
647
__PACKAGE__->has_many(
638
  "biblioitem",
648
  "biblioitem",
Lines 663-669 __PACKAGE__->has_many( Link Here
663
);
673
);
664
674
665
__PACKAGE__->add_columns(
675
__PACKAGE__->add_columns(
666
    "+serial" => { is_boolean => 1 }
676
    "+opac_suppressed" => { is_boolean => 1 },
677
    "+serial"          => { is_boolean => 1 },
667
);
678
);
668
679
669
1;
680
1;
(-)a/Koha/Schema/Result/Deletedbiblio.pm (-4 / +18 lines)
Lines 139-144 the date this record was added to Koha Link Here
139
139
140
summary from the MARC record (520$a in MARC21)
140
summary from the MARC record (520$a in MARC21)
141
141
142
=head2 opac_suppressed
143
144
  data_type: 'tinyint'
145
  default_value: 0
146
  is_nullable: 0
147
148
whether the record should be suppressed in the OPAC
149
142
=cut
150
=cut
143
151
144
__PACKAGE__->add_columns(
152
__PACKAGE__->add_columns(
Lines 179-184 __PACKAGE__->add_columns( Link Here
179
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 },
187
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 },
180
  "abstract",
188
  "abstract",
181
  { data_type => "longtext", is_nullable => 1 },
189
  { data_type => "longtext", is_nullable => 1 },
190
  "opac_suppressed",
191
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
182
);
192
);
183
193
184
=head1 PRIMARY KEY
194
=head1 PRIMARY KEY
Lines 211-218 __PACKAGE__->has_many( Link Here
211
);
221
);
212
222
213
223
214
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
224
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-12-18 12:10:28
215
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KwlqhkWWX6CYWb3l2fCcSg
225
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3ijUwLxcF/WMvNqoQVc6ZQ
216
226
217
__PACKAGE__->has_many(
227
__PACKAGE__->has_many(
218
    "biblioitem",
228
    "biblioitem",
Lines 228-233 __PACKAGE__->has_one( Link Here
228
    { cascade_copy           => 0, cascade_delete => 0 },
238
    { cascade_copy           => 0, cascade_delete => 0 },
229
);
239
);
230
240
241
__PACKAGE__->add_columns(
242
    "+opac_suppressed" => { is_boolean => 1 },
243
    "+serial"          => { is_boolean => 1 },
244
);
245
231
sub koha_objects_class {
246
sub koha_objects_class {
232
    'Koha::Old::Biblios';
247
    'Koha::Old::Biblios';
233
}
248
}
Lines 236-239 sub koha_object_class { Link Here
236
    'Koha::Old::Biblio';
251
    'Koha::Old::Biblio';
237
}
252
}
238
253
239
1;
254
1;
240
- 

Return to bug 38330