Bugzilla – Attachment 191180 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
5589ec6.patch (text/plain), 2.73 KB, created by
Jonathan Druart
on 2026-01-09 14:54:52 UTC
(
hide
)
Description:
Bug 41582: Tidy kohaTable - opac-detail.tt - Novelist
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:54:52 UTC
Size:
2.73 KB
patch
obsolete
>From 5589ec682c98880943a796c7dd46dc79a6372c89 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 > >--- > .../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.43.0 >
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