Bugzilla – Attachment 184521 Details for
Bug 16631
Show groups/categories of reports to authorized staff
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Bug 16631: 0014-Fix-library-limit-method-issue-by-defining-use-state
0014-Fix-library-limit-method-issue-by-defining-use-state.patch (text/plain), 1.26 KB, created by
Casey Conlin
on 2025-07-22 22:05:29 UTC
(
hide
)
Description:
Bug 16631: 0014-Fix-library-limit-method-issue-by-defining-use-state
Filename:
MIME Type:
Creator:
Casey Conlin
Created:
2025-07-22 22:05:29 UTC
Size:
1.26 KB
patch
obsolete
>From 9ced781409e86991659b9ed712f371494f06ad94 Mon Sep 17 00:00:00 2001 >From: "Cameron E. Tidd" <ctidd@citlink.net> >Date: Sat, 19 Jul 2025 23:18:56 +0000 >Subject: [PATCH 14/16] Fix library limit method issue by defining use > statements > >--- > Koha/Report.pm | 26 +++++++++++++++----------- > 1 file changed, 15 insertions(+), 11 deletions(-) > >diff --git a/Koha/Report.pm b/Koha/Report.pm >index 2f8da9de2b..8c292a16a8 100644 >--- a/Koha/Report.pm >+++ b/Koha/Report.pm >@@ -20,9 +20,13 @@ use Modern::Perl; > use Koha::Database; > use Koha::Reports; > >-#use Koha::DateUtils qw( dt_from_string output_pref ); >+use Koha::Object; >+use Koha::Object::Limit::Library; > > use base qw(Koha::Object Koha::Object::Limit::Library); >+ >+#use Koha::DateUtils qw( dt_from_string output_pref ); >+ > # > # FIXME We could only return an error code instead of the arrayref > # Only 1 error is returned >@@ -258,6 +262,16 @@ sub _might_add_limit { > return $sql; > } > >+=head3 _type >+ >+Returns name of corresponding DBIC resultset >+ >+=cut >+ >+sub _type { >+ return 'SavedSql'; >+} >+ > =head3 _library_limits > > Configurable library limits >@@ -272,14 +286,4 @@ sub _library_limits { > }; > } > >-=head3 _type >- >-Returns name of corresponding DBIC resultset >- >-=cut >- >-sub _type { >- return 'SavedSql'; >-} >- > 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 Raw
Actions:
View
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