Bugzilla – Attachment 186940 Details for
Bug 40879
Add system preference to enable/disable the “Cite” option in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40879: Added OpacCiteModal system preference
Bug-40879-Added-OpacCiteModal-system-preference.patch (text/plain), 1.33 KB, created by
Laura Escamilla
on 2025-09-25 19:11:00 UTC
(
hide
)
Description:
Bug 40879: Added OpacCiteModal system preference
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2025-09-25 19:11:00 UTC
Size:
1.33 KB
patch
obsolete
>From 91451904e8c9dad0e76f343cfde6ffb654e6c122 Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Thu, 25 Sep 2025 18:57:32 +0000 >Subject: [PATCH] Bug 40879: Added OpacCiteModal system preference > >--- > .../data/mysql/atomicupdate/bug_40879.pl | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_40879.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_40879.pl b/installer/data/mysql/atomicupdate/bug_40879.pl >new file mode 100644 >index 0000000000..26649b4c18 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_40879.pl >@@ -0,0 +1,20 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_success say_info); >+ >+return { >+ bug_number => "40879", >+ description => "Add system preference to enable or disable the Cite option in the OPAC", >+ 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 ('OpacCiteModal', '1', NULL, 'Enable or disable the Cite option in the OPAC record view.', 'YesNo')} >+ ); >+ >+ # sysprefs >+ say $out "Added new system preference 'OpacCiteModal'"; >+ >+ }, >+}; >-- >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 40879
:
186928
|
186929
|
186930
|
186931
|
186932
|
186933
|
186935
|
186936
|
186937
|
186938
|
186939
| 186940 |
186941