Bugzilla – Attachment 185903 Details for
Bug 39860
Add a way to allow for additional/custom MARC fields in the record display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39860: Add options for opac/staff lists
Bug-39860-Add-options-for-opacstaff-lists.patch (text/plain), 2.34 KB, created by
OpenFifth Sandboxes
on 2025-08-29 10:54:06 UTC
(
hide
)
Description:
Bug 39860: Add options for opac/staff lists
Filename:
MIME Type:
Creator:
OpenFifth Sandboxes
Created:
2025-08-29 10:54:06 UTC
Size:
2.34 KB
patch
obsolete
>From 683540fe82bdc6227099f0c545caf6d36ae95d58 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 5 Jun 2025 20:55:03 +0000 >Subject: [PATCH] Bug 39860: Add options for opac/staff lists >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: David Cook <dcook@prosentient.com.au> >Signed-off-by: Anneli Ãsterman <anneli.osterman@koha-suomi.fi> >--- > C4/XSLT.pm | 4 ++++ > .../prog/en/modules/tools/additional-contents.tt | 4 ++-- > 2 files changed, 6 insertions(+), 2 deletions(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index 9fc8d3c9d8..0479ee9100 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -255,6 +255,10 @@ sub XSLTParse4Display { > $location = 'OPACDetailPage'; > } elsif ( $xslsyspref eq "OPACXSLTResultsDisplay" ) { > $location = 'OPACResultsPage'; >+ } elsif ( $xslsyspref eq "XSLTListsDisplay" ) { >+ $location = 'StaffListPage'; >+ } elsif ( $xslsyspref eq "OPACXSLTListsDisplay" ) { >+ $location = 'OPACListPage'; > } > > my @record_display_customizations = Koha::AdditionalContents->search_for_display( >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >index 31570660c2..3f2331cb34 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >@@ -543,7 +543,7 @@ > [% END %] > [% END %] > [% ELSIF category == 'record_display' %] >- [% SET staff_available_options = ['StaffResultsPage' , 'StaffDetailPage'] %] >+ [% SET staff_available_options = ['StaffResultsPage' , 'StaffDetailPage', 'StaffListPage' ] %] > <optgroup label="Staff interface"> > [% FOREACH l IN staff_available_options.sort %] > [% IF l == location %] >@@ -553,7 +553,7 @@ > [% END %] > [% END %] > </optgroup> >- [% SET opac_available_options = ['OPACResultsPage' , 'OPACDetailPage'] %] >+ [% SET opac_available_options = ['OPACResultsPage' , 'OPACDetailPage', 'OPACListPage' ] %] > <optgroup label="OPAC"> > [% FOREACH l IN opac_available_options.sort %] > [% IF l == location %] >-- >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 39860
:
182054
|
182055
|
182056
|
182057
|
182058
|
182059
|
182230
|
182231
|
182232
|
182233
|
183007
|
183008
|
183009
|
183010
|
183011
|
183035
|
183077
|
183095
|
183774
|
185835
|
185865
|
185866
|
185867
|
185868
|
185869
|
185870
|
185900
|
185901
|
185902
| 185903 |
185904
|
185905