Koha/koha-tmpl/opac-tmpl/prog/en/includes
Jared Camins-Esakov ba9c71f04f Bug 8525: highlight matches on OPAC detail page
After doing a search and going to the details page, it can sometimes
be difficult to see exactly *why* a record was returned by a search.
By highlighting matches on the detail page as well as the results
page, we make it much easier to figure that out.

This patch uses a query_desc CGI parameter which is inserted into links
from the results page with javascript. This serves to avoid the
potential privacy implications of a cookie, and ensures that users
without javascript enabled see no change whatsoever.

To test:
1) Do a search (or two) in the OPAC with OpacHighlightedWords on.
2) View a record or two of the results, and ensure that the correct
   words are highlighted.
3) Disable OpacHighlightedWords and do another search (or two),
   this time ensuring that no words are highlighted.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2012-09-03 09:58:28 +02:00
..
search Bug 8233 : SearchEngine: Add a Koha::SearchEngine module 2012-07-06 16:51:58 +02:00
authorities-search-results.inc Bug 8204: Add user friendly authority view to OPAC 2012-07-26 18:11:44 +02:00
datatables-strings.inc Bug 6836: Add jQuery dataTables plugin 2012-01-27 11:33:11 +01:00
doc-head-close.inc 8263 Consistent stylesheet prefs 2012-08-03 12:03:30 +02:00
doc-head-open.inc Bug 6458: Incorrect translation processing - doc-head-close/open.inc 2011-09-13 09:24:23 +12:00
favicon.ico New programmer templates for the OPAC. Markup has been pared down, but structure hasn't been updated according to new guidelines put forth by Paul on the mailing list (i.e. named blocks, etc). 2006-03-03 20:10:26 +00:00
item-status.inc Fix for Bug 6364 - Display of item availability broken on OPAC detail screen 2011-05-29 15:49:50 +12:00
masthead.inc Bug 8544 - make the RSS icon CSS-changeable 2012-08-03 11:50:49 +02:00
navigation.inc Bug 6825 OpacNav menu hide user menu on opac-user.pl page 2011-10-14 11:20:06 +13:00
opac-bottom.inc patch for Bug 8226 - 'OpacFooter' markup/css improvements 2012-06-20 10:41:30 +02:00
opac-detail-sidebar.inc Bug 8525: highlight matches on OPAC detail page 2012-09-03 09:58:28 +02:00
opac-facets.inc Bug 4255 - Add item type to facet list 2012-06-20 22:27:21 +02:00
opac-topissues.inc Bug 7731 - Library should be used instead of branch and site 2012-03-20 15:17:08 +01:00
page-numbers.inc Bug 7127 - Follow-up - Templates must be valid XHTML 2012-02-06 21:38:32 +01:00
patron-title.inc Bug 6303: Display Organisation and Parent Organisation names when viewing a borrower of type organisation 2011-11-24 11:30:08 +01:00
resort_form.inc Bug 2780 - Capitalize strings consistently (OPAC includes) 2012-04-10 10:03:31 +02:00
subtypes_unimarc.inc Bug 2780 - Capitalize strings consistently (OPAC includes) 2012-04-10 10:03:31 +02:00
usermenu.inc Bug 5917 : Swapping templates over 2011-04-10 20:38:30 +12:00