From f2a0d4ce968b8c25291003d5c7af0d574866e92c Mon Sep 17 00:00:00 2001 From: Jonathan Labreuille Date: Thu, 12 Nov 2015 14:53:32 +0100 Subject: [PATCH] fixed wrong count value onGetItems in Listing --- assets/js/src/listing/listing.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/js/src/listing/listing.jsx b/assets/js/src/listing/listing.jsx index 375e52a396..3bb7efbe39 100644 --- a/assets/js/src/listing/listing.jsx +++ b/assets/js/src/listing/listing.jsx @@ -421,7 +421,9 @@ define( loading: false }, function() { if(this.props['onGetItems'] !== undefined) { - this.props.onGetItems(this.state.count); + this.props.onGetItems( + ~~(this.state.groups[0]['count']) + ); } }.bind(this)); }.bind(this));