Bugzilla – Attachment 181925 Details for
Bug 39835
Tidy is_boolean / tinyint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39835: Add is_boolean for tinyint(1)
Bug-39835-Add-isboolean-for-tinyint1.patch (text/plain), 23.36 KB, created by
Jonathan Druart
on 2025-05-05 14:27:50 UTC
(
hide
)
Description:
Bug 39835: Add is_boolean for tinyint(1)
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-05-05 14:27:50 UTC
Size:
23.36 KB
patch
obsolete
>From f3ae08151abe5a0c84f175d54f11c607024302ea Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 5 May 2025 16:23:24 +0200 >Subject: [PATCH] Bug 39835: Add is_boolean for tinyint(1) > >--- > Koha/Schema/Result/AccountDebitType.pm | 19 +++++-------------- > Koha/Schema/Result/AdditionalField.pm | 1 + > Koha/Schema/Result/Aqbudgetperiod.pm | 5 +++++ > Koha/Schema/Result/AqbudgetsPlanning.pm | 4 +++- > Koha/Schema/Result/AuthSubfieldStructure.pm | 6 ++++++ > Koha/Schema/Result/Borrower.pm | 13 +++++++------ > Koha/Schema/Result/BorrowerAttributeType.pm | 10 ++++++---- > .../Result/BorrowerMessagePreference.pm | 5 +++-- > Koha/Schema/Result/BorrowerModification.pm | 5 +++++ > Koha/Schema/Result/Category.pm | 5 +++++ > Koha/Schema/Result/ClubTemplate.pm | 6 ++++++ > .../Result/CurbsidePickupOpeningSlot.pm | 4 +++- > Koha/Schema/Result/Currency.pm | 5 ++++- > Koha/Schema/Result/Deletedbiblio.pm | 4 ++++ > Koha/Schema/Result/Deletedborrower.pm | 13 +++++++------ > Koha/Schema/Result/Deleteditem.pm | 6 ++++++ > Koha/Schema/Result/HouseboundRole.pm | 5 +++++ > Koha/Schema/Result/ImportBiblio.pm | 4 ++++ > Koha/Schema/Result/Item.pm | 6 ++++++ > Koha/Schema/Result/Letter.pm | 4 ++++ > .../Result/MarcModificationTemplateAction.pm | 4 +++- > Koha/Schema/Result/MarcSubfieldStructure.pm | 6 +++++- > Koha/Schema/Result/MessageAttribute.pm | 5 +++-- > Koha/Schema/Result/MessageTransport.pm | 5 +++-- > Koha/Schema/Result/OldIssue.pm | 3 ++- > Koha/Schema/Result/PatronList.pm | 5 ++++- > Koha/Schema/Result/Rating.pm | 5 ++++- > Koha/Schema/Result/SearchField.pm | 4 +++- > Koha/Schema/Result/SearchMarcToField.pm | 5 +++-- > Koha/Schema/Result/Subscription.pm | 7 ++++--- > Koha/Schema/Result/TransportCost.pm | 4 +++- > Koha/Schema/Result/VendorEdiAccount.pm | 8 +++++++- > 32 files changed, 139 insertions(+), 52 deletions(-) > >diff --git a/Koha/Schema/Result/AccountDebitType.pm b/Koha/Schema/Result/AccountDebitType.pm >index 7d25636759b..08c2fc9ebfe 100644 >--- a/Koha/Schema/Result/AccountDebitType.pm >+++ b/Koha/Schema/Result/AccountDebitType.pm >@@ -149,19 +149,11 @@ __PACKAGE__->has_many( > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9+mMPMSWcc/PwryYNQ2Jqg > > __PACKAGE__->add_columns( >- '+is_system' => { is_boolean => 1 } >-); >- >-__PACKAGE__->add_columns( >- "+can_be_sold" => { is_boolean => 1 } >-); >- >-__PACKAGE__->add_columns( >- "+can_be_invoiced" => { is_boolean => 1 } >-); >- >-__PACKAGE__->add_columns( >- "+restricts_checkouts" => { is_boolean => 1 } >+ '+is_system' => { is_boolean => 1 }, >+ "+can_be_sold" => { is_boolean => 1 }, >+ "+can_be_invoiced" => { is_boolean => 1 }, >+ "+restricts_checkouts" => { is_boolean => 1 }, >+ '+archived' => { is_boolean => 1 }, > ); > > =head2 koha_objects_class >@@ -184,5 +176,4 @@ sub koha_object_class { > 'Koha::Account::DebitType'; > } > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/AdditionalField.pm b/Koha/Schema/Result/AdditionalField.pm >index 51e184d5ff3..e749b4b7036 100644 >--- a/Koha/Schema/Result/AdditionalField.pm >+++ b/Koha/Schema/Result/AdditionalField.pm >@@ -168,6 +168,7 @@ __PACKAGE__->has_many( > > __PACKAGE__->add_columns( > '+repeatable' => { is_boolean => 1 }, >+ '+searchable' => { is_boolean => 1 }, > ); > > 1; >diff --git a/Koha/Schema/Result/Aqbudgetperiod.pm b/Koha/Schema/Result/Aqbudgetperiod.pm >index 6a7f1935049..2de5db73b1c 100644 >--- a/Koha/Schema/Result/Aqbudgetperiod.pm >+++ b/Koha/Schema/Result/Aqbudgetperiod.pm >@@ -149,6 +149,11 @@ __PACKAGE__->has_many( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:F/ipbU/Wrqy3pDInlmLOTw > >+__PACKAGE__->add_columns( >+ '+budget_period_active' => { is_boolean => 1 }, >+ '+budget_period_locked' => { is_boolean => 1 }, >+); >+ > =head2 koha_object_class > > Missing POD for koha_object_class. >diff --git a/Koha/Schema/Result/AqbudgetsPlanning.pm b/Koha/Schema/Result/AqbudgetsPlanning.pm >index 990e04effed..988f5b4ff7f 100644 >--- a/Koha/Schema/Result/AqbudgetsPlanning.pm >+++ b/Koha/Schema/Result/AqbudgetsPlanning.pm >@@ -116,6 +116,8 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7nhWIqgezc+W8sHqJkXCbQ > >+__PACKAGE__->add_columns( >+ '+display' => { is_boolean => 1 }, >+); > >-# You can replace this text with custom content, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/AuthSubfieldStructure.pm b/Koha/Schema/Result/AuthSubfieldStructure.pm >index 24a15f7e824..e77c9fd44a0 100644 >--- a/Koha/Schema/Result/AuthSubfieldStructure.pm >+++ b/Koha/Schema/Result/AuthSubfieldStructure.pm >@@ -220,6 +220,12 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-19 06:49:06 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c6rPINoF/ZP4YzXU1VR+UQ > >+__PACKAGE__->add_columns( >+ '+tab' => { is_boolean => 1 }, >+ '+isurl' => { is_boolean => 1 }, >+ '+linkid' => { is_boolean => 1 }, >+); >+ > =head2 koha_object_class > > Missing POD for koha_object_class. >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index 2749df84d0c..eb4d2e41763 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -2222,12 +2222,13 @@ __PACKAGE__->has_many( > ); > > __PACKAGE__->add_columns( >- '+anonymized' => { is_boolean => 1 }, >- '+autorenew_checkouts' => { is_boolean => 1 }, >- '+gonenoaddress' => { is_boolean => 1 }, >- '+lost' => { is_boolean => 1 }, >- '+privacy_guarantor_fines' => { is_boolean => 1 }, >- '+protected' => { is_boolean => 1 }, >+ '+anonymized' => { is_boolean => 1 }, >+ '+autorenew_checkouts' => { is_boolean => 1 }, >+ '+gonenoaddress' => { is_boolean => 1 }, >+ '+lost' => { is_boolean => 1 }, >+ '+privacy_guarantor_fines' => { is_boolean => 1 }, >+ '+protected' => { is_boolean => 1 }, >+ '+privacy_guarantor_checkouts' => { is_boolean => 1 }, > ); > > __PACKAGE__->has_many( >diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm >index f67892c0b7f..b0539f0a6ae 100644 >--- a/Koha/Schema/Result/BorrowerAttributeType.pm >+++ b/Koha/Schema/Result/BorrowerAttributeType.pm >@@ -279,10 +279,12 @@ __PACKAGE__->add_columns( > '+opac_mandatory' => { is_boolean => 1 }, > '+searched_by_default' => { is_boolean => 1 }, > '+staff_searchable' => { is_boolean => 1 }, >-); >- >-__PACKAGE__->add_columns( >- '+is_date' => { is_boolean => 1 }, >+ '+is_date' => { is_boolean => 1 }, >+ '+repeatable' => { is_boolean => 1 }, >+ '+unique_id' => { is_boolean => 1 }, >+ '+opac_display' => { is_boolean => 1 }, >+ '+opac_editable' => { is_boolean => 1 }, >+ '+display_checkout' => { is_boolean => 1 }, > ); > > =head2 koha_object_class >diff --git a/Koha/Schema/Result/BorrowerMessagePreference.pm b/Koha/Schema/Result/BorrowerMessagePreference.pm >index bc04bd8008b..28c9b935c1e 100644 >--- a/Koha/Schema/Result/BorrowerMessagePreference.pm >+++ b/Koha/Schema/Result/BorrowerMessagePreference.pm >@@ -191,8 +191,9 @@ __PACKAGE__->many_to_many( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-12 20:33:58 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KVYT5xqcXSDijZBaEHLV+g > >- >-# You can replace this text with custom content, and it will be preserved on regeneration >+__PACKAGE__->add_columns( >+ '+wants_digest' => { is_boolean => 1 }, >+); > > =head2 koha_object_class > >diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm >index 99553a8e86a..ff2afb1e93a 100644 >--- a/Koha/Schema/Result/BorrowerModification.pm >+++ b/Koha/Schema/Result/BorrowerModification.pm >@@ -658,6 +658,11 @@ __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); > # Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-11 11:07:06 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QOqDkQ+8LuTY6qYrPhsQWw > >+__PACKAGE__->add_columns( >+ '+gonenoaddress' => { is_boolean => 1 }, >+ '+lost' => { is_boolean => 1 }, >+); >+ > =head2 koha_object_class > > Missing POD for koha_object_class. >diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm >index 063ed67a24e..934e760fc05 100644 >--- a/Koha/Schema/Result/Category.pm >+++ b/Koha/Schema/Result/Category.pm >@@ -431,6 +431,11 @@ __PACKAGE__->add_columns( > '+exclude_from_local_holds_priority' => { is_boolean => 1 }, > '+require_strong_password' => { is_boolean => 1 }, > '+force_password_reset_when_set_by_staff' => { is_boolean => 1 }, >+ '+dateofbirthrequired' => { is_boolean => 1 }, >+ '+overduenoticerequired' => { is_boolean => 1 }, >+ '+hidelostitems' => { is_boolean => 1 }, >+ '+reset_password' => { is_boolean => 1 }, >+ '+change_password' => { is_boolean => 1 }, > ); > > 1; >diff --git a/Koha/Schema/Result/ClubTemplate.pm b/Koha/Schema/Result/ClubTemplate.pm >index 5d47d8eafc4..4a6e4a18b66 100644 >--- a/Koha/Schema/Result/ClubTemplate.pm >+++ b/Koha/Schema/Result/ClubTemplate.pm >@@ -192,6 +192,12 @@ __PACKAGE__->has_many( > # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1UuejI9kkTb9eeNKvSLAQQ > >+__PACKAGE__->add_columns( >+ '+is_enrollable_from_opac' => { is_boolean => 1 }, >+ '+is_email_required' => { is_boolean => 1 }, >+ '+is_deletable' => { is_boolean => 1 }, >+); >+ > =head2 koha_object_class > > Missing POD for koha_object_class. >diff --git a/Koha/Schema/Result/CurbsidePickupOpeningSlot.pm b/Koha/Schema/Result/CurbsidePickupOpeningSlot.pm >index 052379db29a..90c5552dbf7 100644 >--- a/Koha/Schema/Result/CurbsidePickupOpeningSlot.pm >+++ b/Koha/Schema/Result/CurbsidePickupOpeningSlot.pm >@@ -112,6 +112,8 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-27 11:58:44 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5kzC0AAB9LL0gR+FFnmYgw > >+__PACKAGE__->add_columns( >+ '+day' => { is_boolean => 1 }, >+); > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/Currency.pm b/Koha/Schema/Result/Currency.pm >index 391bbf0fe68..c801618cc16 100644 >--- a/Koha/Schema/Result/Currency.pm >+++ b/Koha/Schema/Result/Currency.pm >@@ -185,7 +185,10 @@ __PACKAGE__->has_many( > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FhViwrd64xn2bqz7D054Mw > > __PACKAGE__->add_columns( >- "+p_cs_precedes" => { is_boolean => 1 }, >+ "+p_cs_precedes" => { is_boolean => 1 }, >+ '+active' => { is_boolean => 1 }, >+ '+archived' => { is_boolean => 1 }, >+ '+p_sep_by_space' => { is_boolean => 1 }, > ); > > =head2 koha_object_class >diff --git a/Koha/Schema/Result/Deletedbiblio.pm b/Koha/Schema/Result/Deletedbiblio.pm >index 960a0ed7f4f..a6992181239 100644 >--- a/Koha/Schema/Result/Deletedbiblio.pm >+++ b/Koha/Schema/Result/Deletedbiblio.pm >@@ -228,6 +228,10 @@ __PACKAGE__->has_one( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+__PACKAGE__->add_columns( >+ '+serial' => { is_boolean => 1 }, >+); >+ > =head2 koha_objects_class > > Missing POD for koha_objects_class. >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index b31b3916319..f873ef102c8 100644 >--- a/Koha/Schema/Result/Deletedborrower.pm >+++ b/Koha/Schema/Result/Deletedborrower.pm >@@ -861,12 +861,13 @@ __PACKAGE__->add_columns( > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5QA+/eORyEKhkG++0f3Hvw > > __PACKAGE__->add_columns( >- '+anonymized' => { is_boolean => 1 }, >- '+autorenew_checkouts' => { is_boolean => 1 }, >- '+gonenoaddress' => { is_boolean => 1 }, >- '+lost' => { is_boolean => 1 }, >- '+privacy_guarantor_fines' => { is_boolean => 1 }, >- '+protected' => { is_boolean => 1 }, >+ '+anonymized' => { is_boolean => 1 }, >+ '+autorenew_checkouts' => { is_boolean => 1 }, >+ '+gonenoaddress' => { is_boolean => 1 }, >+ '+lost' => { is_boolean => 1 }, >+ '+privacy_guarantor_fines' => { is_boolean => 1 }, >+ '+protected' => { is_boolean => 1 }, >+ '+privacy_guarantor_checkouts' => { is_boolean => 1 }, > ); > > =head2 koha_objects_class >diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm >index f0ffca3875e..83217f66b03 100644 >--- a/Koha/Schema/Result/Deleteditem.pm >+++ b/Koha/Schema/Result/Deleteditem.pm >@@ -537,6 +537,12 @@ __PACKAGE__->set_primary_key("itemnumber"); > __PACKAGE__->add_columns( > '+bookable' => { is_boolean => 1 }, > '+exclude_from_local_holds_priority' => { is_boolean => 1 }, >+ '+stack' => { is_boolean => 1 }, >+ '+notforloan' => { is_boolean => 1 }, >+ '+damaged' => { is_boolean => 1 }, >+ '+itemlost' => { is_boolean => 1 }, >+ '+withdrawn' => { is_boolean => 1 }, >+ '+restricted' => { is_boolean => 1 }, > ); > > =head2 koha_objects_class >diff --git a/Koha/Schema/Result/HouseboundRole.pm b/Koha/Schema/Result/HouseboundRole.pm >index ef072c0cd14..dda07548803 100644 >--- a/Koha/Schema/Result/HouseboundRole.pm >+++ b/Koha/Schema/Result/HouseboundRole.pm >@@ -91,6 +91,11 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BocU8VE+5j4lYlxNU6Lofw > >+__PACKAGE__->add_columns( >+ '+housebound_chooser' => { is_boolean => 1 }, >+ '+housebound_deliverer' => { is_boolean => 1 }, >+); >+ > =head2 koha_object_class > > Missing POD for koha_object_class. >diff --git a/Koha/Schema/Result/ImportBiblio.pm b/Koha/Schema/Result/ImportBiblio.pm >index 54c45359d07..71b8b18669e 100644 >--- a/Koha/Schema/Result/ImportBiblio.pm >+++ b/Koha/Schema/Result/ImportBiblio.pm >@@ -128,6 +128,10 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-17 11:17:50 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Oj/1VkjYP538OlNeu41mqA > >+__PACKAGE__->add_columns( >+ '+has_items' => { is_boolean => 1 }, >+); >+ > =head2 koha_object_class > > Missing POD for koha_object_class. >diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm >index d89b2f8eee3..9d6da6461e3 100644 >--- a/Koha/Schema/Result/Item.pm >+++ b/Koha/Schema/Result/Item.pm >@@ -1030,6 +1030,12 @@ __PACKAGE__->belongs_to( > __PACKAGE__->add_columns( > '+bookable' => { is_boolean => 1 }, > '+exclude_from_local_holds_priority' => { is_boolean => 1 }, >+ '+stack' => { is_boolean => 1 }, >+ '+notforloan' => { is_boolean => 1 }, >+ '+damaged' => { is_boolean => 1 }, >+ '+itemlost' => { is_boolean => 1 }, >+ '+withdrawn' => { is_boolean => 1 }, >+ '+restricted' => { is_boolean => 1 }, > ); > > # Relationship with orders via the aqorders_item table that not have foreign keys >diff --git a/Koha/Schema/Result/Letter.pm b/Koha/Schema/Result/Letter.pm >index bf9a42bb6c5..5668b896c96 100644 >--- a/Koha/Schema/Result/Letter.pm >+++ b/Koha/Schema/Result/Letter.pm >@@ -244,6 +244,10 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-26 17:01:21 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UglmO8Xk7xnC09bYETA5+w > >+__PACKAGE__->add_columns( >+ '+is_html' => { is_boolean => 1 }, >+); >+ > =head2 koha_object_class > > Missing POD for koha_object_class. >diff --git a/Koha/Schema/Result/MarcModificationTemplateAction.pm b/Koha/Schema/Result/MarcModificationTemplateAction.pm >index a39a02ef7bc..b8fd284bfb9 100644 >--- a/Koha/Schema/Result/MarcModificationTemplateAction.pm >+++ b/Koha/Schema/Result/MarcModificationTemplateAction.pm >@@ -237,6 +237,8 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-02-24 20:18:23 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yDK2nFt+Fj3UuXAij1UwQw > >+__PACKAGE__->add_columns( >+ '+conditional_regex' => { is_boolean => 1 }, >+); > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/MarcSubfieldStructure.pm b/Koha/Schema/Result/MarcSubfieldStructure.pm >index 9dda0ba6082..b611e978f79 100644 >--- a/Koha/Schema/Result/MarcSubfieldStructure.pm >+++ b/Koha/Schema/Result/MarcSubfieldStructure.pm >@@ -233,6 +233,10 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-12-10 09:06:23 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KVbDXEVf96eDkbPYpcmQVA > >+__PACKAGE__->add_columns( >+ '+tab' => { is_boolean => 1 }, >+ '+isurl' => { is_boolean => 1 }, >+ '+hidden' => { is_boolean => 1 }, >+); > >-# You can replace this text with custom content, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/MessageAttribute.pm b/Koha/Schema/Result/MessageAttribute.pm >index 3527ef741f9..1bb80bb48b6 100644 >--- a/Koha/Schema/Result/MessageAttribute.pm >+++ b/Koha/Schema/Result/MessageAttribute.pm >@@ -115,8 +115,9 @@ __PACKAGE__->has_many( > # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:N033AvWwG2CDBDuTj2unqQ > >- >-# You can replace this text with custom content, and it will be preserved on regeneration >+__PACKAGE__->add_columns( >+ '+takes_days' => { is_boolean => 1 }, >+); > > =head2 koha_object_class > >diff --git a/Koha/Schema/Result/MessageTransport.pm b/Koha/Schema/Result/MessageTransport.pm >index 20037fbdd66..a607a81f503 100644 >--- a/Koha/Schema/Result/MessageTransport.pm >+++ b/Koha/Schema/Result/MessageTransport.pm >@@ -132,8 +132,9 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-05-09 21:01:19 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:v0JbPeSBKkHyINem9W9vxw > >- >-# You can replace this text with custom content, and it will be preserved on regeneration >+__PACKAGE__->add_columns( >+ '+is_digest' => { is_boolean => 1 }, >+); > > =head2 koha_object_class > >diff --git a/Koha/Schema/Result/OldIssue.pm b/Koha/Schema/Result/OldIssue.pm >index e493749b146..83a6a7ffae1 100644 >--- a/Koha/Schema/Result/OldIssue.pm >+++ b/Koha/Schema/Result/OldIssue.pm >@@ -336,7 +336,8 @@ __PACKAGE__->belongs_to( > > __PACKAGE__->add_columns( > '+auto_renew' => { is_boolean => 1 }, >- '+onsite_checkout' => { is_boolean => 1 } >+ '+onsite_checkout' => { is_boolean => 1 }, >+ '+noteseen' => { is_boolean => 1 }, > ); > > __PACKAGE__->belongs_to( >diff --git a/Koha/Schema/Result/PatronList.pm b/Koha/Schema/Result/PatronList.pm >index ccb9fb1d5cc..33285705bb2 100644 >--- a/Koha/Schema/Result/PatronList.pm >+++ b/Koha/Schema/Result/PatronList.pm >@@ -114,6 +114,9 @@ __PACKAGE__->has_many( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+gAlf5GQ7YSgAtFIXgqVWw > >+__PACKAGE__->add_columns( >+ '+shared' => { is_boolean => 1 }, >+); > >-# You can replace this text with custom content, and it will be preserved on regeneration > 1; >+ >diff --git a/Koha/Schema/Result/Rating.pm b/Koha/Schema/Result/Rating.pm >index a25f1eae727..e829fa41ccc 100644 >--- a/Koha/Schema/Result/Rating.pm >+++ b/Koha/Schema/Result/Rating.pm >@@ -121,6 +121,9 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wUwI/h1WR8kVGMNCrv/tUQ > >+__PACKAGE__->add_columns( >+ '+rating_value' => { is_boolean => 1 }, >+); > >-# You can replace this text with custom content, and it will be preserved on regeneration > 1; >+ >diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm >index 0ac2626b87f..5e4034c950c 100644 >--- a/Koha/Schema/Result/SearchField.pm >+++ b/Koha/Schema/Result/SearchField.pm >@@ -184,7 +184,9 @@ __PACKAGE__->has_many( > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/WPJEu04y32zDMr+vnK5og > > __PACKAGE__->add_columns( >- '+mandatory' => { is_boolean => 1 }, >+ '+mandatory' => { is_boolean => 1 }, >+ '+staff_client' => { is_boolean => 1 }, >+ '+opac' => { is_boolean => 1 }, > ); > > __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); >diff --git a/Koha/Schema/Result/SearchMarcToField.pm b/Koha/Schema/Result/SearchMarcToField.pm >index 1451e3e1b2c..76170523416 100644 >--- a/Koha/Schema/Result/SearchMarcToField.pm >+++ b/Koha/Schema/Result/SearchMarcToField.pm >@@ -146,9 +146,10 @@ __PACKAGE__->belongs_to( > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rJQhUx0rIc6RVz4HJ5vy/g > > __PACKAGE__->add_columns( >- '+facet' => { is_boolean => 1 }, >+ '+facet' => { is_boolean => 1 }, > '+suggestible' => { is_boolean => 1 }, >- '+sort' => { is_boolean => 1 }, >+ '+sort' => { is_boolean => 1 }, >+ '+search' => { is_boolean => 1 }, > ); > > 1; >diff --git a/Koha/Schema/Result/Subscription.pm b/Koha/Schema/Result/Subscription.pm >index bffd28e210b..e0e56a7842b 100644 >--- a/Koha/Schema/Result/Subscription.pm >+++ b/Koha/Schema/Result/Subscription.pm >@@ -606,9 +606,10 @@ __PACKAGE__->has_many( > ); > > __PACKAGE__->add_columns( >- '+closed' => { is_boolean => 1 }, >- '+skip_serialseq' => { is_boolean => 1 }, >+ '+closed' => { is_boolean => 1 }, >+ '+skip_serialseq' => { is_boolean => 1 }, >+ '+manualhistory' => { is_boolean => 1 }, >+ '+serialsadditems' => { is_boolean => 1 }, > ); > >-# You can replace this text with custom content, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/TransportCost.pm b/Koha/Schema/Result/TransportCost.pm >index 9defb97554b..beffe576c99 100644 >--- a/Koha/Schema/Result/TransportCost.pm >+++ b/Koha/Schema/Result/TransportCost.pm >@@ -112,6 +112,8 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gMs7dT/xK4ClGqQEHI7HOQ > >+__PACKAGE__->add_columns( >+ '+disable_transfer' => { is_boolean => 1 }, >+); > >-# You can replace this text with custom content, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/VendorEdiAccount.pm b/Koha/Schema/Result/VendorEdiAccount.pm >index 27e52b8477c..630a5197015 100644 >--- a/Koha/Schema/Result/VendorEdiAccount.pm >+++ b/Koha/Schema/Result/VendorEdiAccount.pm >@@ -275,6 +275,12 @@ __PACKAGE__->belongs_to( > # Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-19 16:25:44 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jenUF3Wx7J7F5270mLQMbw > >+__PACKAGE__->add_columns( >+ '+quotes_enabled' => { is_boolean => 1 }, >+ '+invoices_enabled' => { is_boolean => 1 }, >+ '+orders_enabled' => { is_boolean => 1 }, >+ '+responses_enabled' => { is_boolean => 1 }, >+ '+auto_orders' => { is_boolean => 1 }, >+); > >-# You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >-- >2.34.1
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 39835
:
181924
|
181925
|
181926
|
181927
|
181971
|
182015
|
182020
|
182021