From 3172d9bb04f09b30d1cef6b71235f1a6900c375d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Fri, 10 Jul 2015 12:41:52 +0200 Subject: [PATCH] Feature #3268: Fix pageLength type --- src/sunstone/public/app/utils/tab-datatable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/public/app/utils/tab-datatable.js b/src/sunstone/public/app/utils/tab-datatable.js index b2319dab59..24dc8b553f 100644 --- a/src/sunstone/public/app/utils/tab-datatable.js +++ b/src/sunstone/public/app/utils/tab-datatable.js @@ -154,7 +154,7 @@ define(function(require) { this.initSelectResourceTableSelect(); } else { - this.dataTableOptions.pageLength = config['page_length']; + this.dataTableOptions.pageLength = parseInt(config['page_length']); } this.dataTable = $('#' + this.dataTableId).dataTable(this.dataTableOptions);