https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29578

Thibaud Guillot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #128053|0                           |1
        is obsolete|                            |

--- Comment #8 from Thibaud Guillot <[email protected]> ---
Created attachment 128150
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128150&action=edit
Bug 29578: Upgrade the jQuery highlighter plugin

Under certain conditions, the jQuery term highlighter can break and
in the process actually make the "Highlight"/"Unhighlight" button
disappear altogether. This affects catalog searches in both the OPAC
and the Staff Client.

This patch fixes that by upgrading the plugin to its latest version.

Test plan:

0) Catalogue two books using the titles below, one of which includes
   a word ("τοῖς") containing Greek diacritics:
   Book #1 title: Συλλογής των εν επιτομή τοῖς πάλαι γεωγραφηθέντων
   Book #2 title: Επιτομή της ιστορίας των Βαλκανικών Πολέμων (1912-1913)
   Then, perform a catalog search for "επιτομή των" (without the quotes).
   In the results page, notice that:
   a) the "Highlight"/"Unhighlight" button has disappeared, and
   b) not all search terms are highlighted (e.g. "των" in the 2nd book)
1) Apply this patch.
2) Repeat the same search (remember to press CTRL-F5 to refresh JS code).
   This time the "Highlight"/"Unhighlight" button is displayed normally,
   and all instances of your search terms are highlighted in the results.

Signed-off-by: ThibaudGLT <[email protected]>
Work on Firefox 94.0-Ubuntu 20.04LTS

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to