ba9c71f04f
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> |
||
---|---|---|
.. | ||
search | ||
authorities-search-results.inc | ||
datatables-strings.inc | ||
doc-head-close.inc | ||
doc-head-open.inc | ||
favicon.ico | ||
item-status.inc | ||
masthead.inc | ||
navigation.inc | ||
opac-bottom.inc | ||
opac-detail-sidebar.inc | ||
opac-facets.inc | ||
opac-topissues.inc | ||
page-numbers.inc | ||
patron-title.inc | ||
resort_form.inc | ||
subtypes_unimarc.inc | ||
usermenu.inc |