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

(-)a/Koha/Schema/Result/Category.pm (-1 / +12 lines)
Lines 144-149 type of Koha patron (Adult, Child, Professional, Organizational, Statistical, St Link Here
144
144
145
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
145
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
146
146
147
=head2 canbeguarantee
148
149
  data_type: 'tinyint'
150
  default_value: 0
151
  is_nullable: 0
152
147
=head2 default_privacy
153
=head2 default_privacy
148
154
149
  data_type: 'enum'
155
  data_type: 'enum'
Lines 237-242 __PACKAGE__->add_columns( Link Here
237
    default_value => -1,
243
    default_value => -1,
238
    is_nullable   => 0,
244
    is_nullable   => 0,
239
  },
245
  },
246
  "canbeguarantee",
247
  { data_type => "tinyint", default_value => 0, is_nullable => 0},
240
  "default_privacy",
248
  "default_privacy",
241
  {
249
  {
242
    data_type => "enum",
250
    data_type => "enum",
Lines 360-365 __PACKAGE__->add_columns( Link Here
360
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
368
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
361
);
369
);
362
370
371
__PACKAGE__->add_columns(
372
    '+canbeguarantee' => { is_boolean => 1 }
373
);
374
363
sub koha_object_class {
375
sub koha_object_class {
364
    'Koha::Patron::Category';
376
    'Koha::Patron::Category';
365
}
377
}
366
- 

Return to bug 12446