Bugzilla – Attachment 191456 Details for
Bug 41582
Tidy kohaTable block - opac
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41582: Tidy kohaTable - opac-detail.tt - Novelist
Bug-41582-Tidy-kohaTable---opac-detailtt---Novelis.patch (text/plain), 2.77 KB, created by
Owen Leonard
on 2026-01-14 19:37:48 UTC
(
hide
)
Description:
Bug 41582: Tidy kohaTable - opac-detail.tt - Novelist
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-01-14 19:37:48 UTC
Size:
2.77 KB
patch
obsolete
>From 1d9f72cdd114c51135f6f0fe802f486b8605acdc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 9 Jan 2026 10:08:46 +0100 >Subject: [PATCH] Bug 41582: Tidy kohaTable - opac-detail.tt - Novelist > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../bootstrap/en/modules/opac-detail.tt | 38 +++++++++++-------- > 1 file changed, 22 insertions(+), 16 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 c282d87a640..f1708399730 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -2061,22 +2061,6 @@ > KOHA.OpenLibrary.GetCoverFromIsbn(); > } > >- [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %] >- novSelect.loadContentForQuery( >- { >- ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', >- ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', >- version : '2.1' >- }, >- '[% NovelistSelectProfile | html %]', >- '[% NovelistSelectPassword | html %]', >- function(d){ >- if ( d.length > 0 ){ //If no content >- $(".NovelistSelect").show(); >- } >- }); >- [% END %] >- > if (prefs.OPACShelfBrowser){ > // Focus on shelf browser if present > var shelfbrowser = $("#shelfbrowser"); >@@ -2262,4 +2246,26 @@ > > } > </script> >+ >+ [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %] >+ <script> >+ $(document).ready(function() { >+ novSelect.loadContentForQuery( >+ { >+ ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', >+ ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', >+ version : '2.1' >+ }, >+ '[% NovelistSelectProfile | html %]', >+ '[% NovelistSelectPassword | html %]', >+ function(d){ >+ if ( d.length > 0 ){ //If no content >+ $(".NovelistSelect").show(); >+ } >+ } >+ ); >+ }); >+ </script> >+ [% END %] >+ > [% END %] >-- >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 41582
:
191174
|
191175
|
191176
|
191177
|
191178
|
191179
|
191180
|
191181
|
191182
|
191183
|
191184
|
191185
|
191186
|
191187
|
191188
|
191450
|
191451
|
191452
|
191453
|
191454
|
191455
| 191456 |
191457
|
191458
|
191459
|
191460
|
191461
|
191462
|
191463
|
191464
|
191465
|
191569