Force AJAX use for search Object

From version 2.3.0 we are prioritising fetch calls for the search object instance over ajax calls.

To be able to force all calls for a specific search instance to use ajax please use add to the chain “chains.request.send” the following code

<search object>.getScope().chains.request.send.addAfter( "checkFetch",{
 name : "forceAjax" ,
 fire : function ( data , scope ) {
  data.context.eventAction = "searchAjax";
 }
});

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>