Bugzilla – Attachment 188394 Details for
Bug 40364
Add permission for viewing patron holds history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40364: Correct system preference check in atomicupdate
Bug-40364-Correct-system-preference-check-in-atomi.patch (text/plain), 1.19 KB, created by
Andrew Fuerste-Henry
on 2025-10-23 19:46:22 UTC
(
hide
)
Description:
Bug 40364: Correct system preference check in atomicupdate
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-10-23 19:46:22 UTC
Size:
1.19 KB
patch
obsolete
>From ffaeb0043f266358aa80139366decf3d54df0bd7 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Thu, 23 Oct 2025 19:44:10 +0000 >Subject: [PATCH] Bug 40364: Correct system preference check in atomicupdate > >--- > .../atomicupdate/bug_40364_add_holds_history_permission.pl | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_40364_add_holds_history_permission.pl b/installer/data/mysql/atomicupdate/bug_40364_add_holds_history_permission.pl >index b59b29126b4..859c1296fc7 100755 >--- a/installer/data/mysql/atomicupdate/bug_40364_add_holds_history_permission.pl >+++ b/installer/data/mysql/atomicupdate/bug_40364_add_holds_history_permission.pl >@@ -17,7 +17,12 @@ return { > > say $out "Added new permission 'view_holds_history'"; > >- my $IntranetHoldsHistory = C4::Context->preference('IntranetReadingHistoryHolds'); >+ my ($IntranetHoldsHistory) = $dbh->selectrow_array( >+ q| >+ SELECT value FROM systempreferences WHERE variable='IntranetReadingHistoryHolds' >+ | >+ ); >+ > if ($IntranetHoldsHistory) { > > 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 40364
:
187065
|
187066
|
187298
|
187305
|
187317
|
187318
|
187319
| 188394 |
188395