Bugzilla – Attachment 193522 Details for
Bug 26355
Allow patrons to self-renew through the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26355: DBIC file
Bug-26355-DBIC-file.patch (text/plain), 3.19 KB, created by
Matt Blenkinsop
on 2026-02-20 10:59:19 UTC
(
hide
)
Description:
Bug 26355: DBIC file
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2026-02-20 10:59:19 UTC
Size:
3.19 KB
patch
obsolete
>From e6d0b733da733ec7eeed7f116b2f5b36bcee5070 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >Date: Thu, 19 Feb 2026 13:24:26 +0000 >Subject: [PATCH] Bug 26355: DBIC file > >--- > Koha/Schema/Result/Category.pm | 61 ++++++++++++++++++++++++++++++++-- > 1 file changed, 59 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm >index c615395fcc2..765e22e857b 100644 >--- a/Koha/Schema/Result/Category.pm >+++ b/Koha/Schema/Result/Category.pm >@@ -222,6 +222,50 @@ define maximum amount that the guarantors with guarantees of a patron in this ca > > enforce the patron expiry notice for this category > >+=head2 self_renewal_enabled >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ >+allow self renewal for this category >+ >+=head2 self_renewal_availability_start >+ >+ data_type: 'smallint' >+ is_nullable: 1 >+ >+how long before the patron expiry date self-renewal should be made available (overrides system default of NotifyBorrowerDeparture) >+ >+=head2 self_renewal_fines_block >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ >+the amount owed in fines before self renewal is blocked (overrides system default of noissuescharge) >+ >+=head2 self_renewal_if_expired >+ >+ data_type: 'smallint' >+ default_value: 0 >+ is_nullable: 1 >+ >+how long after expiry a patron can self renew their account >+ >+=head2 self_renewal_failure_message >+ >+ data_type: 'mediumtext' >+ is_nullable: 1 >+ >+the message to display if self renewal is not successful >+ >+=head2 self_renewal_information_message >+ >+ data_type: 'mediumtext' >+ is_nullable: 1 >+ >+the message to display before the self renewal process starts >+ > =cut > > __PACKAGE__->add_columns( >@@ -293,6 +337,18 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_nullable => 1 }, > "enforce_expiry_notice", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "self_renewal_enabled", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "self_renewal_availability_start", >+ { data_type => "smallint", is_nullable => 1 }, >+ "self_renewal_fines_block", >+ { data_type => "integer", is_nullable => 1 }, >+ "self_renewal_if_expired", >+ { data_type => "smallint", default_value => 0, is_nullable => 1 }, >+ "self_renewal_failure_message", >+ { data_type => "mediumtext", is_nullable => 1 }, >+ "self_renewal_information_message", >+ { data_type => "mediumtext", is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -400,8 +456,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-02-09 19:45:59 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MArdX4M/RMcRQT/lA/rWAA >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-02-19 11:48:23 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:v73KLGwTJPCn0pH+zpiaHg > > # You can replace this text with custom code or comments, and it will be preserved on regeneration > >@@ -437,6 +493,7 @@ __PACKAGE__->add_columns( > '+require_strong_password' => { is_boolean => 1 }, > '+reset_password' => { is_boolean => 1 }, > '+enforce_expiry_notice' => { is_boolean => 1 }, >+ '+self_renewal_enabled' => { is_boolean => 1 }, > ); > > 1; >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26355
:
191781
|
191782
|
191783
|
191784
|
191785
|
191786
|
191787
|
191788
|
191789
|
192440
|
192441
|
192442
|
192443
|
192444
|
192445
|
192446
|
192447
|
192448
|
193065
|
193066
|
193067
|
193068
|
193069
|
193070
|
193071
|
193072
|
193073
|
193074
|
193249
|
193250
|
193251
|
193252
|
193253
|
193521
|
193522
|
193523
|
193524
|
193525
|
193526
|
193527
|
193528
|
193529
|
193581
|
193635
|
193654
|
193699
|
193756
|
193757
|
193758
|
193759
|
193760
|
193761
|
193762
|
193763
|
193764
|
193765
|
193921
|
194435
|
194464
|
194465
|
194466
|
194467
|
194468
|
194469
|
194470
|
194471
|
194472
|
194473
|
194474