Bugzilla – Attachment 93064 Details for
Bug 14697
Extend and enhance "Claims returned" lost status
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14697: [DO NOT PUSH] Update Schema Files
Bug-14697-DO-NOT-PUSH-Update-Schema-Files.patch (text/plain), 6.13 KB, created by
Kyle M Hall (khall)
on 2019-09-20 21:13:23 UTC
(
hide
)
Description:
Bug 14697: [DO NOT PUSH] Update Schema Files
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-09-20 21:13:23 UTC
Size:
6.13 KB
patch
obsolete
>From 79f51d196fb491807c7d8ee69519d6e736af1137 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 19 Sep 2019 07:20:58 -0400 >Subject: [PATCH] Bug 14697: [DO NOT PUSH] Update Schema Files > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> > >Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com> >--- > Koha/Schema/Result/Borrower.pm | 64 ++++++++++++++++++++++++++++++++-- > Koha/Schema/Result/Branch.pm | 4 +-- > Koha/Schema/Result/Issue.pm | 34 ++++++++++++++++-- > Koha/Schema/Result/Item.pm | 19 ++++++++-- > Koha/Schema/Result/Itemtype.pm | 4 +-- > 5 files changed, 115 insertions(+), 10 deletions(-) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index ff22015989..f1b8f4d10c 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -1319,6 +1319,66 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 return_claims_borrowernumbers >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ReturnClaim> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "return_claims_borrowernumbers", >+ "Koha::Schema::Result::ReturnClaim", >+ { "foreign.borrowernumber" => "self.borrowernumber" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ >+=head2 return_claims_created_by >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ReturnClaim> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "return_claims_created_by", >+ "Koha::Schema::Result::ReturnClaim", >+ { "foreign.created_by" => "self.borrowernumber" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ >+=head2 return_claims_resolved_by >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ReturnClaim> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "return_claims_resolved_by", >+ "Koha::Schema::Result::ReturnClaim", >+ { "foreign.resolved_by" => "self.borrowernumber" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ >+=head2 return_claims_updated_by >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ReturnClaim> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "return_claims_updated_by", >+ "Koha::Schema::Result::ReturnClaim", >+ { "foreign.updated_by" => "self.borrowernumber" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 reviews > > Type: has_many >@@ -1560,8 +1620,8 @@ Composing rels: L</aqorder_users> -> ordernumber > __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-05-22 04:33:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lbMdmIHlRt+zayG5+Rq4/w >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-09-20 17:11:26 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qp5n9TzKFYlboPZuIdlkqQ > > __PACKAGE__->add_columns( > '+anonymized' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm >index bf8f6d8efc..49de36c6c2 100644 >--- a/Koha/Schema/Result/Branch.pm >+++ b/Koha/Schema/Result/Branch.pm >@@ -662,8 +662,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07048 @ 2019-07-04 04:56:47 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:15/s0/8d2cNB9YLLlsEY4w >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-09-20 17:11:26 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mu8qDbjVWEx0S1poJ1dd7g > > __PACKAGE__->add_columns( > '+pickup_location' => { is_boolean => 1 } >diff --git a/Koha/Schema/Result/Issue.pm b/Koha/Schema/Result/Issue.pm >index 566f87b364..11557cb581 100644 >--- a/Koha/Schema/Result/Issue.pm >+++ b/Koha/Schema/Result/Issue.pm >@@ -248,9 +248,39 @@ __PACKAGE__->belongs_to( > }, > ); > >+=head2 return_claims_issues > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PUF5X7X9K44BC0d43Rat7w >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ReturnClaim> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "return_claims_issues", >+ "Koha::Schema::Result::ReturnClaim", >+ { "foreign.issue_id" => "self.issue_id" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ >+=head2 return_claims_old_issues >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ReturnClaim> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "return_claims_old_issues", >+ "Koha::Schema::Result::ReturnClaim", >+ { "foreign.old_issue_id" => "self.issue_id" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ >+ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-09-20 17:11:26 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dxMkKeatmxFdHn5zLMKelA > > __PACKAGE__->add_columns( > '+auto_renew' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm >index 9d5743f5c2..e933675d54 100644 >--- a/Koha/Schema/Result/Item.pm >+++ b/Koha/Schema/Result/Item.pm >@@ -671,6 +671,21 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 return_claims >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ReturnClaim> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "return_claims", >+ "Koha::Schema::Result::ReturnClaim", >+ { "foreign.itemnumber" => "self.itemnumber" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 serialitem > > Type: might_have >@@ -717,8 +732,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-05-14 18:14:09 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wDXcErUYqg0aoQkzz3P5vg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-09-20 17:11:26 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hHCIPSR8X6Dq/y4rDUKOwg > > __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); > >diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm >index 073c527b7b..7bfb00eab6 100644 >--- a/Koha/Schema/Result/Itemtype.pm >+++ b/Koha/Schema/Result/Itemtype.pm >@@ -227,8 +227,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07048 @ 2019-07-04 04:56:48 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Qo6jabJSQGeYJ542ebSJfg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-09-20 17:11:26 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:myXENdFe3IM6OnxguLyAWA > > # Use the ItemtypeLocalization view to create the join on localization > our $LANGUAGE; >-- >2.20.1 (Apple Git-117)
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 14697
:
92407
|
92408
|
92409
|
92410
|
92962
|
92963
|
92964
|
92965
|
93005
|
93006
|
93007
|
93008
|
93012
|
93013
|
93014
|
93015
|
93017
|
93038
|
93039
|
93040
|
93041
|
93042
|
93061
|
93062
|
93063
|
93064
|
93065
|
93952
|
93953
|
93954
|
93955
|
93956
|
93957
|
93959
|
94842
|
94843
|
94844
|
94845
|
94846
|
94847
|
94848
|
94849
|
94850
|
94851
|
94852
|
94853
|
94854
|
94857
|
94877
|
94878