From a03860b8c383308baef219923d90b8374e7df192 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 16 Mar 2009 16:56:34 +0000 Subject: [PATCH] [ 2608961 ] In Lookup Record, query saved fail. To apply a query that was recorded, does not return the records correctly. --- zkwebui/WEB-INF/src/org/adempiere/webui/window/FindWindow.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/window/FindWindow.java b/zkwebui/WEB-INF/src/org/adempiere/webui/window/FindWindow.java index 1cf7ab53bb..0581a6ec7d 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/window/FindWindow.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/window/FindWindow.java @@ -833,12 +833,14 @@ public class FindWindow extends Window implements EventListener,ValueChangeListe String value = fields.length > INDEX_VALUE ? fields[INDEX_VALUE] : ""; if(value.length() > 0) { + cellQueryFrom.setAttribute("value", value); // Elaine 2009/03/16 - set attribute value cellQueryFrom.appendChild(parseString(getTargetMField(columnName), value, listItem, false)); } String value2 = fields.length > INDEX_VALUE2 ? fields[INDEX_VALUE2] : ""; if(value2.length() > 0) { + cellQueryTo.setAttribute("value", value); // Elaine 2009/03/16 - set attribute value cellQueryTo.appendChild(parseString(getTargetMField(columnName), value2, listItem, true)); } }