Bugzilla – Attachment 189043 Details for
Bug 32682
Add permission for viewing patron reading history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32682: Fix how sys pref is retrived in DB update
Bug-32682-Fix-how-sys-pref-is-retrived-in-DB-updat.patch (text/plain), 1.17 KB, created by
Andrew Fuerste-Henry
on 2025-11-04 16:56:22 UTC
(
hide
)
Description:
Bug 32682: Fix how sys pref is retrived in DB update
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-11-04 16:56:22 UTC
Size:
1.17 KB
patch
obsolete
>From 1f37bd083ccd708e4ea56d7103cfda76c50f473a Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 20 Oct 2025 15:01:46 +0000 >Subject: [PATCH] Bug 32682: Fix how sys pref is retrived in DB update > >Signed-off-by: Trevor Diamond <trevor.diamond@mainlib.org> >--- > .../data/mysql/atomicupdate/bug_32682_add_permission.pl | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_32682_add_permission.pl b/installer/data/mysql/atomicupdate/bug_32682_add_permission.pl >index f425e064913..d22b3a4ce64 100755 >--- a/installer/data/mysql/atomicupdate/bug_32682_add_permission.pl >+++ b/installer/data/mysql/atomicupdate/bug_32682_add_permission.pl >@@ -17,7 +17,12 @@ return { > > say $out "Added new permission 'view_checkout_history'"; > >- my $IntranetBrowsingHistory = C4::Context->preference('intranetreadinghistory'); >+ my ($IntranetBrowsingHistory) = $dbh->selectrow_array( >+ q| >+ SELECT value FROM systempreferences WHERE variable='intranetreadinghistory' >+ | >+ ); >+ > if ($IntranetBrowsingHistory) { > > my $insert_sth = $dbh->prepare( >-- >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 32682
:
183844
|
183845
|
183846
|
184571
|
184572
|
184832
|
184833
|
186944
|
186945
|
186946
|
186947
|
187591
|
188168
|
188169
|
189039
|
189040
|
189041
|
189042
| 189043