Bugzilla – Attachment 186928 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: New syspref for enabling and disabling Cite in OPAC
Bug-40879-New-syspref-for-enabling-and-disabling-C.patch (text/plain), 1.36 KB, created by
Laura Escamilla
on 2025-09-25 18:44:16 UTC
(
hide
)
Description:
Bug 40879: New syspref for enabling and disabling Cite in OPAC
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2025-09-25 18:44:16 UTC
Size:
1.36 KB
patch
obsolete
>From 8bacd7a06cd3ba9413a620333f643df9b4e67089 Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Thu, 25 Sep 2025 17:54:35 +0000 >Subject: [PATCH] Bug 40879: New syspref for enabling and disabling Cite in > OPAC > >--- > .../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..3932561247 >--- /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/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, VALUES ('OpacCiteModal','1', NULL, 'Enable or disable the Cite option in the OPAC record view.', 'YesNo')} >+ ); >+ >+ # sysprefs >+ say $out "Added new system preference 'Added 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