Bugzilla – Attachment 192981 Details for
Bug 16631
Limit listing of reports using patron library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16631: DBIC changes DO NOT PUSH
Bug-16631-DBIC-changes-DO-NOT-PUSH.patch (text/plain), 2.30 KB, created by
Lucas Gass (lukeg)
on 2026-02-11 14:39:56 UTC
(
hide
)
Description:
Bug 16631: DBIC changes DO NOT PUSH
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2026-02-11 14:39:56 UTC
Size:
2.30 KB
patch
obsolete
>From 0bc9f823ee737212ec757d01ade136121ef88a12 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 11 Feb 2026 14:36:38 +0000 >Subject: [PATCH] Bug 16631: DBIC changes DO NOT PUSH > >--- > Koha/Schema/Result/Branch.pm | 19 +++++++++++++++++-- > Koha/Schema/Result/SavedSql.pm | 21 +++++++++++++++++++-- > 2 files changed, 36 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm >index 0ac29d99ab7..820f790067e 100644 >--- a/Koha/Schema/Result/Branch.pm >+++ b/Koha/Schema/Result/Branch.pm >@@ -920,6 +920,21 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 reports_branches >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ReportsBranch> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "reports_branches", >+ "Koha::Schema::Result::ReportsBranch", >+ { "foreign.branchcode" => "self.branchcode" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 reserves > > Type: has_many >@@ -1011,8 +1026,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-02-10 17:39:28 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qVz4KJbAEtT4XDNdAxWc7w >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-02-11 14:35:53 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2RTm9eV8os0VpZaKOcw0Yw > > __PACKAGE__->has_many( > "additional_field_values", >diff --git a/Koha/Schema/Result/SavedSql.pm b/Koha/Schema/Result/SavedSql.pm >index 6f75ae3b31d..89baf00696a 100644 >--- a/Koha/Schema/Result/SavedSql.pm >+++ b/Koha/Schema/Result/SavedSql.pm >@@ -185,9 +185,26 @@ __PACKAGE__->add_columns( > > __PACKAGE__->set_primary_key("id"); > >+=head1 RELATIONS > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:198dNG9DGQzop+s5IHy7sw >+=head2 reports_branches >+ >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::ReportsBranch> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "reports_branches", >+ "Koha::Schema::Result::ReportsBranch", >+ { "foreign.report_id" => "self.id" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ >+ >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-02-11 14:35:53 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jWUkBLmhpsdSqH7o3U+Ang > > __PACKAGE__->add_columns( > '+public' => { is_boolean => 1 } >-- >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 16631
:
184422
|
184508
|
184509
|
184510
|
184511
|
184512
|
184513
|
184514
|
184515
|
184516
|
184517
|
184518
|
184519
|
184520
|
184521
|
184522
|
184525
|
184526
|
184657
|
184674
|
184686
|
184687
|
184688
|
184689
|
184690
|
184691
|
184692
|
184693
|
184694
|
184695
|
184845
|
184846
|
184847
|
184848
|
184859
|
184861
|
185627
|
185628
|
185779
|
185780
|
185781
|
185782
|
185788
|
185789
|
185790
|
186299
|
186300
|
186335
|
186393
|
186632
|
186633
|
188444
|
188445
|
189818
|
189819
|
190276
|
190277
|
190573
|
190574
|
190749
|
190750
|
190751
|
190752
|
191601
|
191602
|
192980
|
192981
|
193063
|
193064
|
193075
|
193076
|
193167
|
193168