]> git.koha-community.org Git - koha.git/commit
Bug 9419: The highlight feature can cause a browser freeze
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 17 Jan 2013 15:52:18 +0000 (16:52 +0100)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 31 Mar 2013 01:24:57 +0000 (14:24 +1300)
commitd734608298bab87b9e1a4130d3bb00bae3abb845
tree095072e0d010421fc34bade3d49a6b057dc71c8e
parent9f8caacda07d0269b4fecb73215e9fc18cc65e6a
Bug 9419: The highlight feature can cause a browser freeze

Test plan:
- switch on the OpacHighlightedWords syspref
- search at the opac and intranet a string with a space (e.g.
  au,wrdl:"Shakespeare,  William" note the double space after the comma)
- without the patch your browser will be frozen during a few seconds,
  after applying it, the highlight works better.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt