cirandas.net

ref: master

app/views/search/search.js.erb


jQuery('#search-content').replaceWith('<%= escape_javascript(render "search_content") %>');
<% if @plugins.dispatch_first(:search_facets?).present? %>
    jQuery('#facets').replaceWith('<%= escape_javascript(render "facets") %>');
<% end %>
jQuery('#total-results').replaceWith('<%= escape_javascript(render "total_results") %>');