Bugzilla – Attachment 113705 Details for
Bug 27029
Detail page missing Javascript accessible biblionumber value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27029: Add data-biblionumber attribute to OPAC detail page
Bug-27029-Add-data-biblionumber-attribute-to-OPAC-.patch (text/plain), 1.29 KB, created by
Mark Hofstetter
on 2020-11-17 12:18:41 UTC
(
hide
)
Description:
Bug 27029: Add data-biblionumber attribute to OPAC detail page
Filename:
MIME Type:
Creator:
Mark Hofstetter
Created:
2020-11-17 12:18:41 UTC
Size:
1.29 KB
patch
obsolete
>From cb2562623dfbb0a5f9453aa77d5cc36435d9da06 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Mon, 16 Nov 2020 00:31:21 +0000 >Subject: [PATCH] Bug 27029: Add data-biblionumber attribute to OPAC detail > page > >This patch adds a data-biblionumber attribute to the >div#catalogue_detail_biblio elements on opac-detail.pl, so that >Javascript running on the page can easily fetch and use the >record's biblionumber. > >Signed-off-by: Mark Hofstetter <mark@hofstetter.at>, <koha@trust-box.at> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 a88a7caf0b4..93903784a68 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -56,7 +56,7 @@ > <div class="container-fluid"> > <div class="row"> > <div class="col-lg-9"> >- <div id="catalogue_detail_biblio" class="maincontent"> >+ <div id="catalogue_detail_biblio" class="maincontent" data-biblionumber="[% biblio.biblionumber %]"> > > <div id="bookcover"> > [% IF ( biblio.title ) %] >-- >2.11.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 27029
:
113648
|
113705
|
115675
|
115676
|
115862