Bugzilla – Attachment 130462 Details for
Bug 29495
Issue link is lost in return claims when using 'MarkLostItemsAsReturned'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[21.05.x] Bug 29495: DBIC Schema Rebuild
2105x-Bug-29495-DBIC-Schema-Rebuild.patch (text/plain), 2.93 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-02-10 18:57:22 UTC
(
hide
)
Description:
[21.05.x] Bug 29495: DBIC Schema Rebuild
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-02-10 18:57:22 UTC
Size:
2.93 KB
patch
obsolete
>From 62f39f12270895801aa24934ae7f6d441505f793 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 17 Nov 2021 10:01:47 +0000 >Subject: [PATCH] [21.05.x] Bug 29495: DBIC Schema Rebuild > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Schema/Result/Issue.pm | 19 ++----------------- > Koha/Schema/Result/ReturnClaim.pm | 27 +++------------------------ > 2 files changed, 5 insertions(+), 41 deletions(-) > >diff --git a/Koha/Schema/Result/Issue.pm b/Koha/Schema/Result/Issue.pm >index 7b4091eead..0dc55debab 100644 >--- a/Koha/Schema/Result/Issue.pm >+++ b/Koha/Schema/Result/Issue.pm >@@ -320,24 +320,9 @@ __PACKAGE__->belongs_to( > }, > ); > >-=head2 return_claim > >-Type: might_have >- >-Related object: L<Koha::Schema::Result::ReturnClaim> >- >-=cut >- >-__PACKAGE__->might_have( >- "return_claim", >- "Koha::Schema::Result::ReturnClaim", >- { "foreign.issue_id" => "self.issue_id" }, >- { cascade_copy => 0, cascade_delete => 0 }, >-); >- >- >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CthteyTlda7sJnOS/TI2Eg >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-11-17 10:01:24 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kDcP8DNMT8sLUmzBFfz3fg > > __PACKAGE__->add_columns( > '+auto_renew' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/ReturnClaim.pm b/Koha/Schema/Result/ReturnClaim.pm >index 96f82d5877..bc4a309de7 100644 >--- a/Koha/Schema/Result/ReturnClaim.pm >+++ b/Koha/Schema/Result/ReturnClaim.pm >@@ -42,7 +42,6 @@ ID of the item > =head2 issue_id > > data_type: 'integer' >- is_foreign_key: 1 > is_nullable: 1 > > ID of the checkout that triggered the claim >@@ -126,7 +125,7 @@ __PACKAGE__->add_columns( > "itemnumber", > { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, > "issue_id", >- { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, >+ { data_type => "integer", is_nullable => 1 }, > "borrowernumber", > { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, > "notes", >@@ -222,26 +221,6 @@ __PACKAGE__->belongs_to( > }, > ); > >-=head2 issue >- >-Type: belongs_to >- >-Related object: L<Koha::Schema::Result::Issue> >- >-=cut >- >-__PACKAGE__->belongs_to( >- "issue", >- "Koha::Schema::Result::Issue", >- { issue_id => "issue_id" }, >- { >- is_deferrable => 1, >- join_type => "LEFT", >- on_delete => "SET NULL", >- on_update => "CASCADE", >- }, >-); >- > =head2 itemnumber > > Type: belongs_to >@@ -298,8 +277,8 @@ __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:qcgfUNzvsOB0UMm/94mZMQ >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-11-17 10:01:24 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ik93SD3kLNecIyRgsBVKDQ > > sub koha_objects_class { > 'Koha::Checkouts::ReturnClaims'; >-- >2.35.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 29495
:
127711
|
127712
|
127713
|
127714
|
127765
|
127766
|
127767
|
127768
|
127769
|
127809
|
127810
|
127811
|
127812
|
127813
|
127937
|
127938
|
127939
|
127940
|
127941
|
127942
|
127943
|
127944
|
129105
|
129106
|
129107
|
129109
|
129110
|
129111
|
129112
|
129113
|
129547
|
129575
|
129582
|
130460
|
130461
|
130462
|
130463
|
130464
|
130465
|
130466
|
130467
|
130752
|
130753
|
130754
|
130755
|
130756
|
130757
|
130758