Bugzilla – Attachment 154906 Details for
Bug 34641
Novelist content does not display on OPAC detail page if NovelistSelectView is set to below
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34641: Fix Novelist display when NovelistSelectView is set to below
Bug-34641-Fix-Novelist-display-when-NovelistSelect.patch (text/plain), 2.20 KB, created by
Lucas Gass (lukeg)
on 2023-08-29 15:47:14 UTC
(
hide
)
Description:
Bug 34641: Fix Novelist display when NovelistSelectView is set to below
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-08-29 15:47:14 UTC
Size:
2.20 KB
patch
obsolete
>From 5d84e434c346fe074aa6857824871122a22ea9d1 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 29 Aug 2023 15:45:39 +0000 >Subject: [PATCH] Bug 34641: Fix Novelist display when NovelistSelectView is > set to below > >To test: >1. Have Novelist credentials: NovelistSelectProfile, NovelistSelectPassword. >2. Enable NovelistSelectEnabled >3. Set NovelistSelectView to 'below holdings table'. >4. Find a record on the OPAC that would have Novelist content. It does not display. >5. Set NovelistSelectView to any except 'below holdings table'. Notice it displays the content. >6. APPLY PATCH >7. Try steps 1 -5 again, this time when NovelistSelectView is set to 'below' the content should properly display. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index e28327a98d..6b6198b3fb 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -958,10 +958,11 @@ > [% END %] > > [% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %] >- [% WRAPPER tab_panel tabname="NovelistSelect" %] >- <h2>Novelist Select</h2> >- <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]"></div> >- [% END # /tab_panel#NovelistSelect %] >+ <span class="results_summary NovelistSelect" style="display:none;"> >+ <span class="label">Novelist Select: </span> >+ <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div> >+ >+ </span> > [% END %] > [% END # /WRAPPER tab_panels %] > [% END # /WRAPPER tabs#bibliodescriptions %] >-- >2.30.2
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 34641
:
154906
|
154911
|
155122
|
155193