Hi,
I test filter expressions, for example in the feature explorer SmartClient_Explorer.html#expressionFilter example. When I enter this value:
!430
in the area filter, and press enter it correctly filters, however when I then change this to:
!450
and press enter no refiltering happens.
After some debugging I found that the stringComparisonComp() method in DataSource.js has this code:
if (operator.equals) {
if ((oldVal == newVal && !operator.negate) ||
(oldVal != newVal && operator.negate))
{
return 0;
}
return -1;
}
it gets into this code but incorrectly assumes that the filter expressions has not changed and no refiltering is done. I tried different criteriapolicies but it did not help.
I am using the 8.1 nightly build of 28-9 on chrome.
gr. Martin
I test filter expressions, for example in the feature explorer SmartClient_Explorer.html#expressionFilter example. When I enter this value:
!430
in the area filter, and press enter it correctly filters, however when I then change this to:
!450
and press enter no refiltering happens.
After some debugging I found that the stringComparisonComp() method in DataSource.js has this code:
if (operator.equals) {
if ((oldVal == newVal && !operator.negate) ||
(oldVal != newVal && operator.negate))
{
return 0;
}
return -1;
}
it gets into this code but incorrectly assumes that the filter expressions has not changed and no refiltering is done. I tried different criteriapolicies but it did not help.
I am using the 8.1 nightly build of 28-9 on chrome.
gr. Martin
Comment