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

(-)a/Koha/Schema/Result/Category.pm (-8 / +7 lines)
Lines 138-148 type of Koha patron (Adult, Child, Professional, Organizational, Statistical, St Link Here
138
=head2 BlockExpiredPatronOpacActions
138
=head2 BlockExpiredPatronOpacActions
139
139
140
  accessor: 'block_expired_patron_opac_actions'
140
  accessor: 'block_expired_patron_opac_actions'
141
  data_type: 'tinyint'
141
  data_type: 'mediumtext'
142
  default_value: -1
142
  default_value: ''follow_syspref_BlockExpiredPatronOpacActions''
143
  is_nullable: 0
143
  is_nullable: 0
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
specific actions expired patrons of this category are blocked from performing or if the BlockExpiredPatronOpacActions system preference is to be followed
146
146
147
=head2 default_privacy
147
=head2 default_privacy
148
148
Lines 249-256 __PACKAGE__->add_columns( Link Here
249
  "BlockExpiredPatronOpacActions",
249
  "BlockExpiredPatronOpacActions",
250
  {
250
  {
251
    accessor      => "block_expired_patron_opac_actions",
251
    accessor      => "block_expired_patron_opac_actions",
252
    data_type     => "tinyint",
252
    data_type     => "mediumtext",
253
    default_value => -1,
253
    default_value => "'follow_syspref_BlockExpiredPatronOpacActions'",
254
    is_nullable   => 0,
254
    is_nullable   => 0,
255
  },
255
  },
256
  "default_privacy",
256
  "default_privacy",
Lines 388-395 __PACKAGE__->has_many( Link Here
388
);
388
);
389
389
390
390
391
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-01 20:49:52
391
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-03-26 17:00:07
392
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r0Mftlw4TU7x+Ze2pAlwYQ
392
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6I6SD78A/PJ0AhUc1IEOPg
393
393
394
sub koha_object_class {
394
sub koha_object_class {
395
    'Koha::Patron::Category';
395
    'Koha::Patron::Category';
396
- 

Return to bug 36453