[Lada-commits] [PATCH 1 of 2] Make Filter generatiion work for new query config
Wald Commits
scm-commit at wald.intevation.org
Fri Aug 16 11:05:24 CEST 2013
# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1376643817 -7200
# Node ID ae1b4c828649d6d8b48b06ae6ffb82d2554f14ba
# Parent d0f5be50aed5846b4291f331fc1ad4832b7e08cd
Make Filter generatiion work for new query config
diff -r d0f5be50aed5 -r ae1b4c828649 app/controller/Sql.js
--- a/app/controller/Sql.js Thu Aug 15 16:58:48 2013 +0200
+++ b/app/controller/Sql.js Fri Aug 16 11:03:37 2013 +0200
@@ -63,7 +63,7 @@
var filtername = items[i].id;
items[i].hide();
for (var j=0; j < filterFields.length; j++) {
- if ('filter-'+filterFields[j] === filtername) {
+ if ('filter-'+filterFields[j].dataIndex === filtername) {
items[i].show();
};
};
More information about the Lada-commits
mailing list