app/views/layouts/application.datatables.jsonify in simple_datatables-0.1.2 vs app/views/layouts/application.datatables.jsonify in simple_datatables-0.1.3
- old
+ new
@@ -3,9 +3,9 @@
if v.class==WillPaginate::Collection
json.iTotalRecords v.count
json.iTotalDisplayRecords v.total_entries
end
end
-json.sEcho params["sEcho"]
+json.sEcho params["sEcho"].to_i
json.aaData do
json.ingest! yield
end