app/views/educode_sales/staffs/index.json.jbuilder in educode_sales-0.1.4 vs app/views/educode_sales/staffs/index.json.jbuilder in educode_sales-0.1.5
- old
+ new
@@ -10,6 +10,6 @@
json.expired_at d.enabled_at ? "#{d.enabled_at.to_s(:date)}-#{d.expired_at.to_s(:date)}" : ''
end
end
json.code 0
-json.count @staffs.count
+json.count @staffs.total_count
\ No newline at end of file