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. Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
aa3294ae57
commit
dd7daf493b
|
|
@ -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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue