Bugzilla – Attachment 115675 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.39 KB, created by
Marcel de Rooy
on 2021-01-22 10:59:47 UTC
(
hide
)
Description:
Bug 27029: Add data-biblionumber attribute to OPAC detail page
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2021-01-22 10:59:47 UTC
Size:
1.39 KB
patch
obsolete
>From 307da3c22c5c36536d71a58353edf0a7d2cef5c0 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 >Content-Type: text/plain; charset=utf-8 > >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> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 1f0d336a73..56559c5ffd 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