Bugzilla – Attachment 97928 Details for
Bug 24476
Allow patrons to opt-out of auto-renewal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24476: Add boolean for all TINYINT
Bug-24476-Add-boolean-for-all-TINYINT.patch (text/plain), 1.77 KB, created by
Nick Clemens (kidclamp)
on 2020-01-24 20:54:01 UTC
(
hide
)
Description:
Bug 24476: Add boolean for all TINYINT
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-01-24 20:54:01 UTC
Size:
1.77 KB
patch
obsolete
>From b2b9b943b29868da6beeae20650bb519f4a44ea6 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 23 Jan 2020 17:44:14 +0000 >Subject: [PATCH] Bug 24476: Add boolean for all TINYINT > >--- > Koha/Schema/Result/BorrowerModification.pm | 6 ++++++ > Koha/Schema/Result/Deletedborrower.pm | 9 +++++++++ > 2 files changed, 15 insertions(+) > >diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm >index ebbc5aa1a4..a25193afc9 100644 >--- a/Koha/Schema/Result/BorrowerModification.pm >+++ b/Koha/Schema/Result/BorrowerModification.pm >@@ -621,6 +621,12 @@ __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); > # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-24 20:50:45 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7WfMeXobnCTp98TlYjtWLg > >+__PACKAGE__->add_columns( >+ '+lost' => { is_boolean => 1 }, >+ '+gonenoaddress' => { is_boolean => 1 }, >+ '+autorenewal' => { is_boolean => 1 } >+); >+ > sub koha_object_class { > 'Koha::Patron::Modification'; > } >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index 200c7e3b23..29e2b4a2d5 100644 >--- a/Koha/Schema/Result/Deletedborrower.pm >+++ b/Koha/Schema/Result/Deletedborrower.pm >@@ -661,6 +661,15 @@ __PACKAGE__->add_columns( > # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-23 17:37:01 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7DGOgltcqZKLv6u1BOnouw > >+__PACKAGE__->add_columns( >+ '+anonymized' => { is_boolean => 1 }, >+ '+lost' => { is_boolean => 1 }, >+ '+gonenoaddress' => { is_boolean => 1 }, >+ '+privacy_guarantor_fines' => { is_boolean => 1 }, >+ '+autorenewal' => { is_boolean => 1 } >+); >+ >+ > sub koha_objects_class { > 'Koha::Old::Patrons'; > } >-- >2.11.0
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 24476
:
97766
|
97767
|
97768
|
97769
|
97770
|
97831
|
97832
|
97833
|
97834
|
97835
|
97836
|
97923
|
97924
|
97925
|
97926
|
97927
|
97928
|
97997
|
97998
|
97999
|
98000
|
98001
|
98002
|
99793
|
99794
|
99795
|
99796
|
99797
|
99798
|
99799
|
99800
|
100022
|
100023
|
100024
|
100025
|
100026
|
100027
|
100028
|
100029
|
101385
|
101419
|
101420
|
101421
|
101422
|
101423
|
101424
|
101425
|
101426
|
101427
|
101511
|
101512
|
101513
|
101514
|
101515
|
101516
|
101517
|
101518
|
101519
|
101520
|
101521
|
101542