diff --git a/applications/party/src/org/ofbiz/party/party/PartyServices.java b/applications/party/src/org/ofbiz/party/party/PartyServices.java index 259aa751b9..7f2c4fba4b 100644 --- a/applications/party/src/org/ofbiz/party/party/PartyServices.java +++ b/applications/party/src/org/ofbiz/party/party/PartyServices.java @@ -1472,6 +1472,7 @@ public class PartyServices { // using list iterator EntityListIterator pli = EntityQuery.use(delegator).select(UtilMisc.toSet(fieldsToSelect)) .from(dynamicView) + .where(mainCond) .orderBy(orderBy) .cursorScrollInsensitive() .fetchSize(highIndex)