Bugzilla – Attachment 167486 Details for
Bug 34597
Expired patrons can still place ILL requests through OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34597: (QA follow-up) Add missing database revision
Bug-34597-QA-follow-up-Add-missing-database-revisi.patch (text/plain), 1.30 KB, created by
Martin Renvoize (ashimema)
on 2024-06-05 16:20:52 UTC
(
hide
)
Description:
Bug 34597: (QA follow-up) Add missing database revision
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-06-05 16:20:52 UTC
Size:
1.30 KB
patch
obsolete
>From 78708721509dd66970378824f78a10feaf9977dc Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 5 Jun 2024 17:18:17 +0100 >Subject: [PATCH] Bug 34597: (QA follow-up) Add missing database revision > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > installer/data/mysql/atomicupdate/bug_34597.pl | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_34597.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_34597.pl b/installer/data/mysql/atomicupdate/bug_34597.pl >new file mode 100755 >index 00000000000..5a32507ae45 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_34597.pl >@@ -0,0 +1,16 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_failure say_success say_info); >+ >+return { >+ bug_number => "34597", >+ description => "Update BlockExpiredPatronOpacActions to include ill_request", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ $dbh->do( >+ "UPDATE systempreferences SET options='hold,renew,ill_request' WHERE variable='BlockExpiredPatronOpacActions'" >+ ); >+ say_success( $out, "BlockExpiredPatronOpacActions system updated to include ill_request." ); >+ }, >+}; >-- >2.45.1
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 34597
:
164052
|
164053
|
164054
|
164055
|
165415
|
165416
|
165417
|
165418
|
166563
|
166564
|
166668
|
166669
|
166670
|
166671
|
166672
|
167481
|
167482
|
167483
|
167484
|
167485
| 167486