You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2014/12/08 06:43:40 UTC

svn commit: r1643743 - /ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java

Author: ashish
Date: Mon Dec  8 05:43:40 2014
New Revision: 1643743

URL: http://svn.apache.org/r1643743
Log:
Applied patch from jira issue - OFBIZ-5901 - findParty screens show all party when the user uses some filters. Thanks  youssef khaye for the contribution

Modified:
    ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java

Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java?rev=1643743&r1=1643742&r2=1643743&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java Mon Dec  8 05:43:40 2014
@@ -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)