?
avatar smz
smz
16 Dec 2014

Steps to reproduce the issue

Use "Smart Search" to search for a keyword present in at least an article

Expected result

In the result page the keyword should be highlighted

Actual result

... it is not.

System information (as much as possible)

n.a.

Additional comments

avatar smz smz - open - 16 Dec 2014
avatar smz
smz - comment - 16 Dec 2014

@dgt41 Dimitris, can you give a look at this? Thanks! Sergio

avatar smz
smz - comment - 16 Dec 2014

Strange things:

  • in the linked article page the highlighting does work
  • the generated JS is exactly the same
  • target IDs highlighter-start and highlighter-end are present in both
  • only difference I see is the JS libraries load order
  • Mootools not involved
avatar smz
smz - comment - 16 Dec 2014

Now I see... 2 errors in console:

  • ReferenceError: jQuery is not defined (in jquery.autocomplete.min.js)
  • TypeError: jQuery(...).autocomplete is not a function (in generated online JS)

... as if JQuery wasn't loaded, and in fact jquery.autocomplete.min.js is loaded before jquery.min.js

avatar smz
smz - comment - 16 Dec 2014

Got it! PR is on its way...

avatar zero-24 zero-24 - close - 16 Dec 2014
avatar smz
smz - comment - 16 Dec 2014

We have PR #5439, closing this in favor of it...

avatar smz smz - change - 16 Dec 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-12-16 04:14:30
avatar smz smz - close - 16 Dec 2014
avatar smz smz - change - 16 Dec 2014
Title
Highliter not working (in com_finder, but maybe elsewhere too...)
Highliter not working in "Smart Search" results
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment