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 351-356 __PACKAGE__->add_columns( Link Here
351
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
359
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
352
);
360
);
353
361
362
__PACKAGE__->add_columns(
363
    '+canbeguarantee' => { is_boolean => 1 }
364
);
365
354
sub koha_object_class {
366
sub koha_object_class {
355
    'Koha::Patron::Category';
367
    'Koha::Patron::Category';
356
}
368
}
357
- 

Return to bug 12446