Bugzilla – Attachment 184692 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]
[patch]
0002-Bug-16631-Fix-bug_16631
0002-Bug-16631-Fix-bug_16631.pl.patch (text/plain), 1.69 KB, created by
Casey Conlin
on 2025-07-27 21:32:17 UTC
(
hide
)
Description:
0002-Bug-16631-Fix-bug_16631
Filename:
MIME Type:
Creator:
Casey Conlin
Created:
2025-07-27 21:32:17 UTC
Size:
1.69 KB
patch
obsolete
>From 399a0d9960e492d204a59e61c2c8f20db3a100c4 Mon Sep 17 00:00:00 2001 >From: "Cameron E. Tidd" <ctidd@citlink.net> >Date: Sun, 27 Jul 2025 00:36:30 +0000 >Subject: [PATCH 2/3] Bug 16631: Fix bug_16631.pl > >--- > installer/data/mysql/atomicupdate/bug_16631.pl | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_16631.pl b/installer/data/mysql/atomicupdate/bug_16631.pl >index 791831163f..c2656e161b 100755 >--- a/installer/data/mysql/atomicupdate/bug_16631.pl >+++ b/installer/data/mysql/atomicupdate/bug_16631.pl >@@ -16,12 +16,16 @@ return { > KEY `branchcode` (`branchcode`), > CONSTRAINT `reports_branches_ibfk_1` FOREIGN KEY (`report_id`) REFERENCES `saved_sql` (`id`) ON DELETE CASCADE, > CONSTRAINT `reports_branches_ibfk_2` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE CASCADE >- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; >- INSERT IGNORE INTO systempreferences >- (variable,value,options,explanation,type) VALUES ('EnableFilteringReports', '0', NULL, 'Enable ability for staff to filter report access based on home library.', 'YesNo');} >+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci} > ); > > say $out "Added new table 'reports_branches'"; >+ >+ $dbh->do( >+ q{INSERT IGNORE INTO systempreferences >+ (variable,value,options,explanation,type) VALUES ('EnableFilteringReports', '0', NULL, 'Enable ability for staff to filter report access based on home library.', 'YesNo')} >+ ); >+ > say $out "Added new system preference 'EnableFilteringReports'"; > }, > }; >-- >2.15.0 >
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