diff --git a/src/UI/History/Table/HistoryTableLayout.js b/src/UI/History/Table/HistoryTableLayout.js index 9ae911de0..3bfd2efb0 100644 --- a/src/UI/History/Table/HistoryTableLayout.js +++ b/src/UI/History/Table/HistoryTableLayout.js @@ -88,7 +88,7 @@ define( onShow: function () { this.history.show(new LoadingView()); - this.collection.fetch(); + //this.collection.fetch(); this._showToolbar(); }, @@ -109,7 +109,7 @@ define( _showToolbar: function () { var filterOptions = { type : 'radio', - storeState : false, + storeState : true, menuKey : 'history.filterMode', defaultAction : 'all', items : diff --git a/src/UI/Shared/FormatHelpers.js b/src/UI/Shared/FormatHelpers.js index ac23b473f..51e93cf5a 100644 --- a/src/UI/Shared/FormatHelpers.js +++ b/src/UI/Shared/FormatHelpers.js @@ -48,7 +48,7 @@ define( number: function (input) { if (!input) { - return ''; + return '0'; } return input.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');