search in batches

This commit is contained in:
May Zin Oo
2017-10-25 11:42:56 +06:30
parent dce9c48eef
commit 87b340328e
8 changed files with 294 additions and 107 deletions

View File

@@ -0,0 +1,6 @@
<% js = escape_javascript(
render(partial: 'batches/search', locals: { batches: @batches })
) %>
$("#filterrific_results").html("<%= js %>");
$('.pagination a').attr('data-remote', 'true');