summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntje Fuhrmann2013-03-26 06:32:03 (EDT)
committerSven Rottstock2013-03-26 06:32:03 (EDT)
commitc106e7c747288c95397b003dd2fdc12583cf76ea (patch)
treed0000a075b44f0f6a9412639791a5b516bccc96f
parentbd3be197be2662a19c36a173329eadd19bacc12f (diff)
downloadorg.eclipse.stardust.engine-c106e7c747288c95397b003dd2fdc12583cf76ea.zip
org.eclipse.stardust.engine-c106e7c747288c95397b003dd2fdc12583cf76ea.tar.gz
org.eclipse.stardust.engine-c106e7c747288c95397b003dd2fdc12583cf76ea.tar.bz2
Jira-ID: CRNT-28519
Exclude user filter: Portal displays "strange" numbers for participants worklists git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/engine@63956 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--stardust-engine-core/src/main/java/org/eclipse/stardust/engine/api/query/WorklistQueryEvaluator.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/api/query/WorklistQueryEvaluator.java b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/api/query/WorklistQueryEvaluator.java
index 6f3dbf0..71864c4 100644
--- a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/api/query/WorklistQueryEvaluator.java
+++ b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/api/query/WorklistQueryEvaluator.java
@@ -264,8 +264,12 @@ public class WorklistQueryEvaluator
if (count > totalCountThreshold)
{
count = Long.MAX_VALUE;
+ collector.setTotalCount(count);
+ }
+ else
+ {
+ collector.addToTotalCount(count);
}
- collector.addToTotalCount(count);
collector.setTotalCountThreshold(totalCountThreshold);
}
else