Bugzilla – Attachment 179309 Details for
Bug 38615
Cancelling a waiting hold via SIP should include an option to move it to holds with cancellation requests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38615: Atomic update
Bug-38615-Atomic-update.patch (text/plain), 1.41 KB, created by
Martin Renvoize (ashimema)
on 2025-03-14 08:17:21 UTC
(
hide
)
Description:
Bug 38615: Atomic update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-03-14 08:17:21 UTC
Size:
1.41 KB
patch
obsolete
>From b44ff3b3fc17d3ab9143720deb06499bb6650cbe Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 13 Feb 2025 19:26:56 +0000 >Subject: [PATCH] Bug 38615: Atomic update > >Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../data/mysql/atomicupdate/bug_38615.pl | 22 +++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_38615.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_38615.pl b/installer/data/mysql/atomicupdate/bug_38615.pl >new file mode 100755 >index 00000000000..32f4744beac >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_38615.pl >@@ -0,0 +1,22 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_success say_info); >+ >+return { >+ bug_number => "38615", >+ description => "A single line description", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ # Do you stuffs here >+ $dbh->do( >+ q{ >+ INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) >+ VALUES ('HoldCancellationRequestSIP',0,'','Option to set holds cancelled via SIP as cancellation requests','YesNo') >+ } >+ ); >+ >+ # sysprefs >+ say $out "Added new system preference '38615'"; >+ }, >+}; >-- >2.48.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 38615
:
175097
|
178046
|
178047
|
178055
|
178056
|
178098
|
178099
|
179288
|
179289
| 179309 |
179310
|
179311