Bugzilla – Attachment 179468 Details for
Bug 38666
Closed stack requests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38666: Flag new columns as boolean (SQL12)
Bug-38666-Flag-new-columns-as-boolean-SQL12.patch (text/plain), 3.09 KB, created by
Julian Maurice
on 2025-03-19 09:32:46 UTC
(
hide
)
Description:
Bug 38666: Flag new columns as boolean (SQL12)
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2025-03-19 09:32:46 UTC
Size:
3.09 KB
patch
obsolete
>From 36bbf700b756c774c5d9550ada29bbb28eee4938 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Wed, 11 Dec 2024 14:03:50 +0100 >Subject: [PATCH] Bug 38666: Flag new columns as boolean (SQL12) > >--- > Koha/Schema/Result/Deleteditem.pm | 1 + > Koha/Schema/Result/Item.pm | 1 + > Koha/Schema/Result/OldReserve.pm | 9 +++++---- > Koha/Schema/Result/Reserve.pm | 9 +++++---- > 4 files changed, 12 insertions(+), 8 deletions(-) > >diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm >index da5226a09d..665e77e036 100644 >--- a/Koha/Schema/Result/Deleteditem.pm >+++ b/Koha/Schema/Result/Deleteditem.pm >@@ -539,6 +539,7 @@ __PACKAGE__->set_primary_key("itemnumber"); > __PACKAGE__->add_columns( > '+bookable' => { is_boolean => 1 }, > '+exclude_from_local_holds_priority' => { is_boolean => 1 }, >+ '+is_closed_stack' => { is_boolean => 1 }, > ); > > sub koha_objects_class { >diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm >index f3c1581de3..96fe8c609f 100644 >--- a/Koha/Schema/Result/Item.pm >+++ b/Koha/Schema/Result/Item.pm >@@ -1032,6 +1032,7 @@ __PACKAGE__->belongs_to( > __PACKAGE__->add_columns( > '+bookable' => { is_boolean => 1 }, > '+exclude_from_local_holds_priority' => { is_boolean => 1 }, >+ '+is_closed_stack' => { is_boolean => 1 }, > ); > > # Relationship with orders via the aqorders_item table that not have foreign keys >diff --git a/Koha/Schema/Result/OldReserve.pm b/Koha/Schema/Result/OldReserve.pm >index 0d38890b7a..d89ed7104d 100644 >--- a/Koha/Schema/Result/OldReserve.pm >+++ b/Koha/Schema/Result/OldReserve.pm >@@ -491,10 +491,11 @@ __PACKAGE__->belongs_to( > ); > > __PACKAGE__->add_columns( >- '+item_level_hold' => { is_boolean => 1 }, >- '+lowestPriority' => { is_boolean => 1 }, >- '+suspend' => { is_boolean => 1 }, >- '+non_priority' => { is_boolean => 1 } >+ '+item_level_hold' => { is_boolean => 1 }, >+ '+lowestPriority' => { is_boolean => 1 }, >+ '+suspend' => { is_boolean => 1 }, >+ '+non_priority' => { is_boolean => 1 }, >+ '+closed_stack_request_slip_printed' => { is_boolean => 1 }, > ); > > sub koha_object_class { >diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm >index 06bcc23055..95e9002ae3 100644 >--- a/Koha/Schema/Result/Reserve.pm >+++ b/Koha/Schema/Result/Reserve.pm >@@ -502,10 +502,11 @@ __PACKAGE__->belongs_to( > ); > > __PACKAGE__->add_columns( >- '+item_level_hold' => { is_boolean => 1 }, >- '+lowestPriority' => { is_boolean => 1 }, >- '+suspend' => { is_boolean => 1 }, >- '+non_priority' => { is_boolean => 1 } >+ '+item_level_hold' => { is_boolean => 1 }, >+ '+lowestPriority' => { is_boolean => 1 }, >+ '+suspend' => { is_boolean => 1 }, >+ '+non_priority' => { is_boolean => 1 }, >+ '+closed_stack_request_slip_printed' => { is_boolean => 1 }, > ); > > sub koha_object_class { >-- >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 38666
:
175354
|
175371
|
175372
|
175373
|
178977
|
178978
|
178979
|
179466
|
179467
|
179468
|
180309
|
180310
|
180311
|
180321
|
180322
|
180323
|
180822
|
180823
|
180824