Author: jleroux Date: Sun Jan 18 06:27:39 2015 New Revision: 1652707 URL: http://svn.apache.org/r1652707 Log: "Applied fix from trunk for revision: 1652706" ------------------------------------------------------------------------ r1652706 | jleroux | 2015-01-18 07:27:17 +0100 (dim. 18 janv. 2015) | 5 lignes
A patch from Christian Carlow for "Find Order filtering broken" https://issues.apache.org/jira/browse/OFBIZ-5999 The Find Order page at ordermgr/control/searchorders does not filter results. This patch adds the .where(cond) method missing from the query statement. ------------------------------------------------------------------------ Modified: ofbiz/branches/release14.12/ (props changed) ofbiz/branches/release14.12/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java Propchange: ofbiz/branches/release14.12/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Sun Jan 18 06:27:39 2015 @@ -8,4 +8,4 @@ /ofbiz/branches/json-integration-refactoring:1634077-1635900 /ofbiz/branches/multitenant20100310:921280-927264 /ofbiz/branches/release13.07:1547657 -/ofbiz/trunk:1649742,1650240,1650583,1650642,1650678,1650882,1650887,1650938,1651593,1652361 +/ofbiz/trunk:1649742,1650240,1650583,1650642,1650678,1650882,1650887,1650938,1651593,1652361,1652706 Modified: ofbiz/branches/release14.12/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java?rev=1652707&r1=1652706&r2=1652707&view=diff ============================================================================== --- ofbiz/branches/release14.12/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java (original) +++ ofbiz/branches/release14.12/applications/order/src/org/ofbiz/order/order/OrderLookupServices.java Sun Jan 18 06:27:39 2015 @@ -591,6 +591,7 @@ public class OrderLookupServices { eli = EntityQuery.use(delegator) .select(fieldsToSelect) .from(dve) + .where(cond) .orderBy(orderBy) .distinct() // set distinct on so we only get one row per order .maxRows(highIndex)

