Bugzilla – Attachment 84499 Details for
Bug 21850
Remove search request from page title of OPAC result list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21850: (follow-up) Add query information in title attribute
Bug-21850-follow-up-Add-query-information-in-title.patch (text/plain), 1.82 KB, created by
Owen Leonard
on 2019-01-28 18:50:43 UTC
(
hide
)
Description:
Bug 21850: (follow-up) Add query information in title attribute
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-01-28 18:50:43 UTC
Size:
1.82 KB
patch
obsolete
>From 83f63b4aec63a6b97ed2c4975dd77618b014a4ea Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 28 Jan 2019 18:46:41 +0000 >Subject: [PATCH] Bug 21850: (follow-up) Add query information in title > attribute > >This follow-up adds back the old machine-friendly search details to a >title attribute in case it might be useful for debugging purposes. > >To test, apply the patch and perform a search in the OPAC. On the search >results page, hover your mouse over the "Results" link in the >breadcrumbs. The title attribute value should appear with the search >details. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >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 5ecd8c4..e35af15 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -41,9 +41,9 @@ > [% END %] > <li> > [% IF ( ms_value ) %] >- <a href="#">Results of search for '[% ms_value | html %]'</a> >+ <a href="#" title="You searched [% IF ( query_desc ) %] for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]">Results of search for '[% ms_value | html %]'</a> > [% ELSE %] >- <a href="#">Search results</a> >+ <a href="#" title="You searched [% IF ( query_desc ) %] for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]">Search results</a> > [% END %] > </li> > [% ELSE %] >-- >2.1.4
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 21850
:
83640
|
83650
|
83673
|
83850
| 84499