Main Koha release repository https://koha-community.org
Find a file
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
acqui Bug 7302: Export basketgroup as CSV 2012-07-24 18:22:06 +02:00
admin Bug 8679 [REVISED] Remove usage of Amazon API 2012-08-29 16:05:29 +02:00
authorities Bug 8520: fix authority display in autocomplete 2012-08-31 15:32:01 +02:00
basket
C4 Bug 8533 - Non-numeric cardnumbers screw up autoMemberNum 2012-08-31 18:23:43 +02:00
catalogue Bug 8679 [REVISED] Remove usage of Amazon API 2012-08-29 16:05:29 +02:00
cataloguing Bug 8550: Z39.50 searches for ISBN/ISSN problematic 2012-08-31 18:32:55 +02:00
circ Bug 8498 - can't specify an hour when specifying due date 2012-08-31 22:44:26 +02:00
debian Bug 8162: allow packages to work on Ubuntu Precise 2012-08-29 13:46:04 +02:00
docs Bug 7143: Updating history and about file 2012-08-01 14:20:06 +02:00
errors
etc Bug 8268: Add database dump to export tool 2012-07-12 17:40:21 +02:00
install_misc Bug 7411: Remove diacritics from generated userid 2012-06-11 16:43:39 +02:00
installer Bug 8657 - Default sort by call number does not work 2012-08-29 17:51:19 +02:00
Koha Bug 8532 - improve robustness when converting dates 2012-08-31 17:30:28 +02:00
koha-tmpl Bug 8525: highlight matches on OPAC detail page 2012-09-03 09:58:28 +02:00
labels Bug 8442 - labels creator fixes for plack 2012-07-24 16:21:05 +02:00
members Bug 8590 - checked out from missing on patron detail 2012-08-29 18:37:54 +02:00
misc Bug 8419 - Suspended holds appear on the daily holds queue 2012-08-31 17:56:46 +02:00
offline_circ Bug 8006 - Loading offline circulation does not anonymize 2012-06-20 19:40:41 +02:00
opac Bug 8525: highlight matches on OPAC detail page 2012-09-03 09:58:28 +02:00
patroncards Bug 8315 - remove use C4::* version 2012-07-13 14:17:20 +02:00
reports Bug 8588 - Duplicate field IDs cause problems with SQL report parameter entry 2012-08-31 13:47:33 +02:00
reserve Bug 8455 - Followup - perltidy renewscript.pl 2012-08-02 16:44:55 +02:00
reviews
rotating_collections
selenium
serials Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
services
skel 8268 Followup for creating var spool subdir. 2012-07-23 10:40:43 +02:00
sms
suggestion Bug 8440: Dates does not appear in suggestions management 2012-07-24 17:04:32 +02:00
svc Merge remote-tracking branch 'origin/new/bug_7729' 2012-07-17 18:21:38 +02:00
t Bug 8524 follow-up: fix broken test 2012-08-31 17:42:44 +02:00
tags Bug 8315 - remove use C4::* version 2012-07-13 14:17:20 +02:00
test
tmp/modified_authorities
tools Merge remote-tracking branch 'origin/new/bug_8268' 2012-08-28 18:03:34 +02:00
virtualshelves
xt Bug 8470: remove depreciated H:T:P test 2012-07-26 14:53:13 +02:00
.htaccess
.mailmap
about.pl Bug 8301 - Display additional system information (preferences) on About page to minimize support cases 2012-07-10 11:19:02 +02:00
changelanguage.pl
edithelp.pl Bug 7038 Contextual help is always in English 2011-10-18 16:01:25 +13:00
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.fedora7 Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.opensuse
INSTALL.ubuntu Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.ubuntu.lucid Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
koha_perl_deps.pl Bug 8485 - Make koha_perl_deps.pl batch friendly Added a -b flag for brief which outputs only the perl library name (Foo::BaR), and added a -r flag for required which filters the list to required=Yes perl libraries. 2012-08-31 17:35:49 +02:00
kohaversion.pl Bug 8657 follow-up DBRev number 2012-08-29 17:57:53 +02:00
LICENSE
mainpage.pl
Makefile.PL Bug 8268: Add database dump to export tool 2012-07-12 17:40:21 +02:00
MANIFEST.SKIP
README
README.robots
rewrite-config.PL Bug 8268 follow-up: rewrite config correctly 2012-08-28 18:02:42 +02:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/