Koha/koha-tmpl/intranet-tmpl/lib
Phil Ringnalda 4a84f7a9e0
Bug 20501: Don't cut strings when unhighlighting in intranet search results
When you click Unhighlight on the search results of a search in the staff client
when the search terms contain the same word twice, like "ma ma", the highlighted
words disappear, and don't reappear if you click Highlight.

This patch makes the same change to the intranet copy of jquery.highlight-3.js that
bug 5844 made to the OPAC copy.

Test plan:
1) Without this patch, search in the intranet for ma ma and verify you have at least
   two matching records.
2) Notice that the Ma in Material type: Book is highlighted.
3) Click Unhighlight, and notice that it has become terial type: Book
4) Apply this patch, repeat the search with a shift+reload to reload the .js
5) Click Unhighlight, and verify that Material type: Book remains Material

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-22 09:31:17 +01:00
..
bootstrap
codemirror Bug 24193: Add CodeMirror linting of JavaScript, CSS, HTML, and YAML 2020-03-02 10:44:14 +00:00
d3c3
datatables
font-awesome
greybox
jquery Bug 20501: Don't cut strings when unhighlighting in intranet search results 2020-04-22 09:31:17 +01:00
js-cookie
jsdiff
keyboard
koha/cateditor Bug 24789: Remove ITS macro format 2020-03-16 11:02:35 +00:00
leaflet
linters Bug 24193: Add CodeMirror linting of JavaScript, CSS, HTML, and YAML 2020-03-02 10:44:14 +00:00
moment Bug 24455: Add moment-timezone library in staff 2020-03-25 13:54:16 +00:00
select2
shortcut
tiny_mce
yui
filesaver.js
hc-sticky.js
require.js