Bugzilla – Attachment 116347 Details for
Bug 27632
Add a more easily Javascript accessible biblionumber to each record in OPAC results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27632: add data-biblionumber attr to OPAC results
Bug-27632-add-data-biblionumber-attr-to-OPAC-resul.patch (text/plain), 1.60 KB, created by
David Cook
on 2021-02-05 00:03:15 UTC
(
hide
)
Description:
Bug 27632: add data-biblionumber attr to OPAC results
Filename:
MIME Type:
Creator:
David Cook
Created:
2021-02-05 00:03:15 UTC
Size:
1.60 KB
patch
obsolete
>From 78da11e72ef17c1bfda89c3eb0b4aea36ee454b1 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 4 Feb 2021 22:19:15 +0000 >Subject: [PATCH] Bug 27632: add data-biblionumber attr to OPAC results > >To test: >-Apply patch and do an OPAC search that returns several results >-Inscept and look for the class bibiocol >-Make sure it contains a data-biblionumber attr with a value that matches the biblionumber > >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index a60ac5f5e9..475cb625d9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -344,7 +344,7 @@ > [% END %] > > [% # Cell 4: Search result details and controls %] >- <td class="bibliocol"> >+ <td class="bibliocol" data-biblionumber="[% SEARCH_RESULT.biblionumber | html %]" > > <div class="coverimages itemtype_[% SEARCH_RESULT.itemtype | html %]"> > <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]"> > [% IF ( SEARCH_RESULT.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 27632
:
116343
|
116347
|
116448
|
116518
|
116521