Gravatar for

Question by fmarkovic, Dec 28, 2016 9:05 AM

Search results are not being displayed


After particular search, we get multiple results response, and it doesn't display on the page. Some functions are being triggered: afterInitialization -> buildingQuery -> querySuccess , but than, "deferredQuerySuccess" is not being triggered, as well as "noResults". As far as query response, everything looks ok. If we search one of the items from those results, everything works, and deferredQuerySuccess is being triggered.

Can you have an idea why deferredQuerySuccess is not being triggered, or how do we go to debug this problem?

Thank you in advance.

Gravatar for

Comment by Simon, Dec 28, 2016 9:21 AM

First time I hear of an event not being triggered. Any errors in the browser's console?

Gravatar for

Comment by fmarkovic, Dec 28, 2016 10:06 AM

No errors :(, only thing we get is this:

["INFO", t, "Performing REST query", Object]
["INFO", t, "REST query successful", Object, Object]
1 Reply
Gravatar for

Answer by fmarkovic, Dec 28, 2016 11:45 AM

I have found bug, underscore template had some errors that were not catching. Thanks!

Ask a question