Bugzilla – Attachment 191946 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.25 KB, created by
Matt Blenkinsop
on 2026-01-23 14:39:26 UTC
(
hide
)
Description:
Bug 40364: Correct system preference check in atomicupdate
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2026-01-23 14:39:26 UTC
Size:
1.25 KB
patch
obsolete
>From 62b025ccce7a17498f0514db5bb77df53aa737d5 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 > >Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >--- > .../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
|
191939
|
191944
|
191945
| 191946 |
191947
|
191948
|
192257
|
192262