]> 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:26:02 +0000 (14:26 +1300)
commitb1d1dad9b70344a5aa821931e9ac9461ee7ff3e8
tree5a78916ee3c9d31dd910652389d9663cbdb035ba
parentcad251a29a5d7a8654f0074d669ce2ca8d3280b4
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