Bugzilla – Attachment 183312 Details for
Bug 39610
Allow for customizing the metadata shown on OPAC ILL request table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39610: Add SQL bits for ILLOpacMetadataFields
Bug-39610-Add-SQL-bits-for-ILLOpacMetadataFields.patch (text/plain), 2.51 KB, created by
Roman Dolny
on 2025-06-17 19:44:04 UTC
(
hide
)
Description:
Bug 39610: Add SQL bits for ILLOpacMetadataFields
Filename:
MIME Type:
Creator:
Roman Dolny
Created:
2025-06-17 19:44:04 UTC
Size:
2.51 KB
patch
obsolete
>From 4dfadba4bcb5df895e14acc945080f2315aeaa5b Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Tadeusz=20=E2=80=9Etadzik=E2=80=9D=20So=C5=9Bnierz?= > <tadeusz@sosnierz.com> >Date: Wed, 11 Jun 2025 13:50:01 +0200 >Subject: [PATCH] Bug 39610: Add SQL bits for ILLOpacMetadataFields > >Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> >--- > .../data/mysql/atomicupdate/bug_39610.pl | 20 +++++++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 1 + > 2 files changed, 21 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_39610.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_39610.pl b/installer/data/mysql/atomicupdate/bug_39610.pl >new file mode 100755 >index 0000000000..b5e4e793fb >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_39610.pl >@@ -0,0 +1,20 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_success); >+ >+return { >+ bug_number => "39610", >+ description => "Add ILLOpacMetadataFields to systempreferences", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ $dbh->do( >+ q{ >+ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES >+ ('ILLOpacMetadataFields','author|title',NULL,'Metadata fields to show in OPAC ILL table','multiple'); >+ } >+ ); >+ >+ say_success $out, "Added new system preference 'ILLOpacMetadataFields'"; >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 09b8afd6fd..220e178261 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -333,6 +333,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('ILLModuleDisclaimerByType','','','YAML defining disclaimer settings for each ILL request type','Textarea'), > ('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'), > ('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'), >+('ILLOpacMetadataFields','author|title',NULL,'Metadata fields to show in OPAC ILL table','multiple'), > ('ILLOpacUnauthenticatedRequest',NULL,NULL,'Can OPAC users place ILL requests without having to be logged in','YesNo'), > ('ILLPartnerCode','IL','','Patrons from this patron category will be used as partners to place ILL requests with','free'), > ('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'), >-- >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 39610
:
180825
|
181864
|
181865
|
183153
|
183154
|
183155
|
183310
|
183311
| 183312