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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

ashish-18
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)