commit 407d1f55f803946c258cfe58815035c00ec91e93
parent da6fcfbaab375d67c8e2b35d478eee2ea477d73e
Author: Felicitus <felicitus@felicitus.org>
Date: Mon, 3 Aug 2015 14:49:22 +0200
Temporary workaround because DunglasApiBundle doesn't support -1 as indicator for unlimited pages
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Widgets/StorageLocationComboBox.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Widgets/StorageLocationComboBox.js
@@ -19,7 +19,7 @@ Ext.define("PartKeepr.StorageLocationComboBox",{
this.store = Ext.create("Ext.data.Store",
{
model: 'PartKeepr.StorageLocationBundle.Entity.StorageLocation',
- pageSize: -1,
+ pageSize: 99999999,
autoLoad: true
});
diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Widgets/UserPreferenceGrid.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Widgets/UserPreferenceGrid.js
@@ -36,7 +36,7 @@ Ext.define('PartKeepr.UserPreferenceGrid', {
}];
this.store = Ext.create("Ext.data.Store", {
model: 'PartKeepr.UserPreference',
- pageSize: -1
+ pageSize: 999999999
});
this.callParent();