app/views/admin/actualities/index.json.erb in forgeos_cms-1.9.1 vs app/views/admin/actualities/index.json.erb in forgeos_cms-1.9.2
- old
+ new
@@ -1,7 +1,9 @@
<%
output = {
- :iTotalDisplayRecords => @actualities.total_entries || 0,
+ :sEcho => params[:sEcho],
+ :iTotalRecords => @actualities.total_entries || 0,
+ :iTotalDisplayRecords => @actualities.size,
:aaData => @actualities.collect do |actuality|
link_id = "actuality_#{actuality.id}"
picture = actuality.picture.public_filename(:thumb) if actuality.picture
klass = actuality.active? ? 'see-on' : 'see-off'
author = actuality.administrator.lastname if actuality.administrator