[icinga-checkins] icinga.org: icinga-web/master: Cronk/grid/filter/ApiComboBox: Add countColumn to request

git at icinga.org git at icinga.org
Tue Nov 27 17:32:03 CET 2012


Module: icinga-web
Branch: master
Commit: b537fcffd549baf721ea660f32b6010d5661b8a0
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=b537fcffd549baf721ea660f32b6010d5661b8a0

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Tue Nov 27 17:32:08 2012 +0100

Cronk/grid/filter/ApiComboBox: Add countColumn to request

---

 .../Cronks/lib/js/Cronk/grid/filter/ApiComboBox.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/app/modules/Cronks/lib/js/Cronk/grid/filter/ApiComboBox.js b/app/modules/Cronks/lib/js/Cronk/grid/filter/ApiComboBox.js
index e846180..892bf9a 100644
--- a/app/modules/Cronks/lib/js/Cronk/grid/filter/ApiComboBox.js
+++ b/app/modules/Cronks/lib/js/Cronk/grid/filter/ApiComboBox.js
@@ -91,7 +91,8 @@ Ext.ns('Cronk.grid.filter');
                     order_dir: (meta.api_order_dir || this.def_sortorder),
                     columns: cols,
                     limit_start: 0,
-                    limit: 20
+                    limit: 20,
+                    countColumn: (meta.api_id || meta.api_keyfield)
                 },
 
                 idProperty: (meta.api_id || meta.api_keyfield),





More information about the icinga-checkins mailing list