Bugzilla – Attachment 141532 Details for
Bug 31635
Empty title for current result in OPAC results browser's tooltip on paging
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31635: Fix output of current title in OPAC browse results
Bug-31635-Fix-output-of-current-title-in-OPAC-brow.patch (text/plain), 2.84 KB, created by
Katrin Fischer
on 2022-10-07 21:53:50 UTC
(
hide
)
Description:
Bug 31635: Fix output of current title in OPAC browse results
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-10-07 21:53:50 UTC
Size:
2.84 KB
patch
obsolete
>From 5b2987bbfc4c5527e286dc3020b511605a1d544b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 4 Oct 2022 11:21:33 +0000 >Subject: [PATCH] Bug 31635: Fix output of current title in OPAC browse results > >This patch makes a correction to the output of OPAC browse results. In >the numbered result navigation links, a title tag on each >navigation link should contain the title of the record. The link for the >current title didn't include the title information in the title tag >because it used the wrong template variables. > >To test, apply the patch and make sure OpacBrowseResults is enabled. > >- In OPAC, perform a search that will return multiple results. >- View one of the results. >- In the right-hand sidebar, click "Browse results." >- In the list of numbered links at the top of the panel, hover your > mouse over each link. They should each display a tooltip with "View > record [title]" >- Confirm that the current title in the list includes the correct > tooltip. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ++++ > 1 file changed, 4 insertions(+) > >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 319d584cd9..35e32d6eed 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1045,7 +1045,11 @@ > [% ELSE %] > <li class="li_pag_[% loop.count | html %]"> > [% END %] >+ [% IF ( listitem.biblionumber == biblionumber ) %] >+ <a href="opac-detail.pl?biblionumber=[% biblionumber | uri %]&query_desc=[% query_desc |uri %]" title="View record "[%- title | html -%] [%- part_number | html -%] [%- part_name | html -%]"" class="a_pag" id="a_pag_[% loop.count | html %]">[% loop.count + offset | html %]</a> >+ [% ELSE %] > <a href="opac-detail.pl?biblionumber=[% listitem.biblionumber | uri %]&query_desc=[% query_desc |uri %]" title="View record "[% listitem.title | html %] [% listitem.part_number | html %] [% listitem.part_name | html %]"" class="a_pag" id="a_pag_[% loop.count | html %]">[% loop.count + offset | html %]</a> >+ [% END # /IF listitem.biblionumber %] > </li> > [% END # /FOREACH listitem %] > </ul> <!-- /#listResults --> >-- >2.30.2
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 31635
:
141301
|
141332
| 141532