Bugzilla – Attachment 168350 Details for
Bug 28530
Allow configuration of floating limits by item type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28530: Update existing schema files
Bug-28530-Update-existing-schema-files.patch (text/plain), 3.98 KB, created by
Kyle M Hall (khall)
on 2024-07-02 11:23:35 UTC
(
hide
)
Description:
Bug 28530: Update existing schema files
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-07-02 11:23:35 UTC
Size:
3.98 KB
patch
obsolete
>From 9ff3758fb3499f100da4ab64dc53bd8a37dab806 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 2 Jul 2024 11:19:09 +0000 >Subject: [PATCH] Bug 28530: Update existing schema files > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> >--- > Koha/Schema/Result/Branch.pm | 19 +++++++++++++++++-- > Koha/Schema/Result/Branchtransfer.pm | 7 ++++--- > Koha/Schema/Result/Itemtype.pm | 19 +++++++++++++++++-- > 3 files changed, 38 insertions(+), 7 deletions(-) > >diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm >index c9d55a81826..c0a8a6c6b0f 100644 >--- a/Koha/Schema/Result/Branch.pm >+++ b/Koha/Schema/Result/Branch.pm >@@ -800,6 +800,21 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 library_float_limits >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::LibraryFloatLimit> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "library_float_limits", >+ "Koha::Schema::Result::LibraryFloatLimit", >+ { "foreign.branchcode" => "self.branchcode" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 library_groups > > Type: has_many >@@ -996,8 +1011,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-03 13:13:25 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HiH1QNlDqKcq9GeM85Pu0A >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-07-02 11:14:12 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3TsuWEa3C2DEKJ1gR+V2Ig > > __PACKAGE__->add_columns( > '+pickup_location' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/Branchtransfer.pm b/Koha/Schema/Result/Branchtransfer.pm >index 87b1cdcfb6d..9c19e368cf7 100644 >--- a/Koha/Schema/Result/Branchtransfer.pm >+++ b/Koha/Schema/Result/Branchtransfer.pm >@@ -103,7 +103,7 @@ any comments related to the transfer > =head2 reason > > data_type: 'enum' >- extra: {list => ["Manual","StockrotationAdvance","StockrotationRepatriation","ReturnToHome","ReturnToHolding","RotatingCollection","Reserve","LostReserve","CancelReserve","TransferCancellation","Recall","RecallCancellation"]} >+ extra: {list => ["Manual","StockrotationAdvance","StockrotationRepatriation","ReturnToHome","ReturnToHolding","RotatingCollection","Reserve","LostReserve","CancelReserve","TransferCancellation","Recall","RecallCancellation","LibraryFloatLimit"]} > is_nullable: 1 > > what triggered the transfer >@@ -188,6 +188,7 @@ __PACKAGE__->add_columns( > "TransferCancellation", > "Recall", > "RecallCancellation", >+ "LibraryFloatLimit", > ], > }, > is_nullable => 1, >@@ -275,8 +276,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-03 16:48:17 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BkhtfptiDqKKSv/hmCQy3w >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-07-02 11:14:12 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qJ8/zlwESoKfSq3JJY8Jug > > sub koha_object_class { > 'Koha::Item::Transfer'; >diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm >index 22880fdb438..ccb427244a6 100644 >--- a/Koha/Schema/Result/Itemtype.pm >+++ b/Koha/Schema/Result/Itemtype.pm >@@ -283,6 +283,21 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 library_float_limits >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::LibraryFloatLimit> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "library_float_limits", >+ "Koha::Schema::Result::LibraryFloatLimit", >+ { "foreign.itemtype" => "self.itemtype" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 old_reserves > > Type: has_many >@@ -334,8 +349,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-08 14:38:07 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9NChRQA4eBUqHpLXUFmOuw >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-07-02 11:17:44 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aGs0iOKQmDteJjVriZ3Tgw > > __PACKAGE__->add_columns( > '+automatic_checkin' => { is_boolean => 1 }, >-- >2.30.2
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 28530
:
160038
|
160039
|
160040
|
160041
|
160042
|
160043
|
160044
|
160045
|
160046
|
160047
|
160048
|
160049
|
160050
|
160053
|
160054
|
160055
|
160056
|
160057
|
160058
|
160061
|
160062
|
160063
|
160064
|
160065
|
160066
|
160067
|
160068
|
160071
|
160072
|
160073
|
160074
|
160075
|
160076
|
160077
|
160078
|
160079
|
160080
|
160081
|
160082
|
160083
|
160084
|
163919
|
168343
|
168344
|
168345
|
168346
|
168347
|
168348
|
168349
|
168350
|
178762
|
178763
|
178764
|
178765
|
178766
|
178767
|
178768
|
178769
|
178783
|
178784
|
178785
|
178934
|
178935
|
178936
|
178937
|
178938
|
178939
|
178940
|
178941
|
178942
|
178943
|
178944
|
178945
|
178946
|
179943
|
179944
|
179945
|
179946
|
179947
|
179948
|
179949
|
179950
|
179951
|
179952
|
179953
|
179954
|
179955
|
180028
|
182931