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

(-)a/Koha/Schema/Result/Category.pm (-1 / +12 lines)
Lines 137-142 type of Koha patron (Adult, Child, Professional, Organizational, Statistical, St Link Here
137
137
138
wheither or not a patron of this category can renew books or place holds once their card has expired. 0 means they can, 1 means they cannot, -1 means use syspref BlockExpiredPatronOpacActions
138
wheither or not a patron of this category can renew books or place holds once their card has expired. 0 means they can, 1 means they cannot, -1 means use syspref BlockExpiredPatronOpacActions
139
139
140
=head2 canbeguarantee
141
142
  data_type: 'tinyint'
143
  default_value: 0
144
  is_nullable: 0
145
140
=head2 default_privacy
146
=head2 default_privacy
141
147
142
  data_type: 'enum'
148
  data_type: 'enum'
Lines 228-233 __PACKAGE__->add_columns( Link Here
228
    default_value => -1,
234
    default_value => -1,
229
    is_nullable   => 0,
235
    is_nullable   => 0,
230
  },
236
  },
237
  "canbeguarantee",
238
  { data_type => "tinyint", default_value => 0, is_nullable => 0},
231
  "default_privacy",
239
  "default_privacy",
232
  {
240
  {
233
    data_type => "enum",
241
    data_type => "enum",
Lines 336-341 __PACKAGE__->add_columns( Link Here
336
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
344
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
337
);
345
);
338
346
347
__PACKAGE__->add_columns(
348
    '+canbeguarantee' => { is_boolean => 1 }
349
);
350
339
sub koha_object_class {
351
sub koha_object_class {
340
    'Koha::Patron::Category';
352
    'Koha::Patron::Category';
341
}
353
}
342
- 

Return to bug 12446