Bugzilla – Attachment 113648 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.22 KB, created by
David Cook
on 2020-11-16 00:32:59 UTC
(
hide
)
Description:
Bug 27029: Add data-biblionumber attribute to OPAC detail page
Filename:
MIME Type:
Creator:
David Cook
Created:
2020-11-16 00:32:59 UTC
Size:
1.22 KB
patch
obsolete
>From 4735c4d7f60502da4e4d43749fb412ca8afc46d2 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. >--- > 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 4e0d27de9e..195eed6f3e 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