From 1f75af645fa7da0173e5fb978d3fb8807a51a13c Mon Sep 17 00:00:00 2001 From: phib Date: Wed, 21 Apr 2010 05:24:24 +0000 Subject: [PATCH] Request toolbar button calls up search form Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2990258 --- client/src/org/compiere/apps/ARequest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client/src/org/compiere/apps/ARequest.java b/client/src/org/compiere/apps/ARequest.java index 4f88b48fed..11ba1644fc 100644 --- a/client/src/org/compiere/apps/ARequest.java +++ b/client/src/org/compiere/apps/ARequest.java @@ -194,11 +194,19 @@ public class ARequest implements ActionListener query = new MQuery(""); String where = "(" + m_where + ") AND Processed='N'"; query.addRestriction(where); + query.setRecordCount(0); } else if (e.getSource() == m_all) { query = new MQuery(""); query.addRestriction(m_where.toString()); + query.setRecordCount(0); + } + else if (e.getSource() == m_new) + { + query = new MQuery(""); + query.addRestriction("1=2"); + query.setRecordCount(0); } // int AD_Window_ID = 232; // 232=all - 201=my