summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaniel.cui2011-10-24 23:19:32 (EDT)
committer xgu2011-10-25 02:10:17 (EDT)
commit0408d3e38332d79b43b198313f18260b2fa60980 (patch)
treeaee26580314b6eb1ba1efeb7ef26cf6b5c2628e7
parented7789c6826be4dc338dfd08b2ace537cc3445e9 (diff)
downloadorg.eclipse.birt-0408d3e38332d79b43b198313f18260b2fa60980.zip
org.eclipse.birt-0408d3e38332d79b43b198313f18260b2fa60980.tar.gz
org.eclipse.birt-0408d3e38332d79b43b198313f18260b2fa60980.tar.bz2
Checkin: 2 top/bottom N filter can't work together [43652]
-rw-r--r--data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java
index 7a9c809..33b75c5 100644
--- a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java
+++ b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java
@@ -91,6 +91,11 @@ public class AggregationFilterHelper
return null;
}
applyTopBottomFilters( aggregations, resultSet, levelFilterList );
+
+ if( levelFilterList.size( ) == 0 )
+ {
+ return null;
+ }
}
catch ( IOException e )
{