comparison app/controller/Sql.js @ 365:ae1b4c828649

Make Filter generatiion work for new query config
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 16 Aug 2013 11:03:37 +0200
parents 92b475303806
children 71ca7e597952
comparison
equal deleted inserted replaced
364:d0f5be50aed5 365:ae1b4c828649
61 var items = filters.items.items; 61 var items = filters.items.items;
62 for (var i=0; i < items.length; i++) { 62 for (var i=0; i < items.length; i++) {
63 var filtername = items[i].id; 63 var filtername = items[i].id;
64 items[i].hide(); 64 items[i].hide();
65 for (var j=0; j < filterFields.length; j++) { 65 for (var j=0; j < filterFields.length; j++) {
66 if ('filter-'+filterFields[j] === filtername) { 66 if ('filter-'+filterFields[j].dataIndex === filtername) {
67 items[i].show(); 67 items[i].show();
68 }; 68 };
69 }; 69 };
70 70
71 }; 71 };

http://lada.wald.intevation.org