]> git.koha-community.org Git - koha.git/commit
Bug 10686: Remove fields from searches for highlighting
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 6 Aug 2013 00:56:48 +0000 (20:56 -0400)
committerBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sat, 14 Sep 2013 22:03:54 +0000 (19:03 -0300)
commit23bb4bcb002ef0c79979597a33c1de9ffdf46eab
tree456b6f9ba9bcbdfb07a702031c26d903c2bcb45a
parent38e8a13b6ba331207dc7451c676e6aa868e14e79
Bug 10686: Remove fields from searches for highlighting

If you do a fielded search like au:smith, "Smith" will not get
highlighted on the results page because the Javascript is looking for
the exact string "au:smith."

To test:
1) Turn on OpacHighlightedWords.
2) Do a simple keyword search.
3) Confirm that the word is highlighted on the results and details page.
4) Do a fielded search by entering au:smith (or whatever).
5) Confirm that the word is highlighted on the results and details page.
6) Sign off.

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passes koha-qa.pl, works as advertised.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit b0ea3be36c8e7ae6dc6f28820b1c26fc909d9039)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit a85f9e1928a89e5c8f01983f1b853b090ec8cd1e)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit a85f9e1928a89e5c8f01983f1b853b090ec8cd1e)
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt