app/views/spree/api/v1/orders/index.rabl in spree_api-1.1.2 vs app/views/spree/api/v1/orders/index.rabl in spree_api-1.1.3
- old
+ new
@@ -1,7 +1,7 @@
object false
child(@orders) do
attributes *order_attributes
end
-node(:count) { @orders.total_count }
+node(:count) { @orders.count }
node(:current_page) { params[:page] || 1 }
node(:pages) { @orders.num_pages }