From 428e00ae8634264d4a95ec7a53b6e185f77428a4 Mon Sep 17 00:00:00 2001 From: Nicolas Micoud Date: Fri, 12 Oct 2018 11:07:23 +0200 Subject: [PATCH] IDEMPIERE-3801 System user can't use saved queries --- .../WEB-INF/src/org/adempiere/webui/window/FindWindow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java index 7940d7f659..8b5c59912c 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java @@ -134,7 +134,7 @@ public class FindWindow extends Window implements EventListener, ValueCha /** * */ - private static final long serialVersionUID = -4461202150492732658L; + private static final long serialVersionUID = -2476692172080549315L; // values and label for history combo private static final String HISTORY_DAY_ALL = "All"; @@ -1740,7 +1740,7 @@ public class FindWindow extends Window implements EventListener, ValueCha uq = new MUserQuery (Env.getCtx(), 0, null); uq.setName (name); uq.setAD_Tab_ID(m_AD_Tab_ID); //red1 UserQuery [ 1798539 ] taking in new field from Compiere - uq.setAD_User_ID(Env.getAD_User_ID(Env.getCtx())); //red1 - [ 1798539 ] missing in Compiere delayed source :-) + uq.set_ValueOfColumn("AD_User_ID", Env.getAD_User_ID(Env.getCtx())); // required set_Value for System=0 user } } else if (code.length() <= 0){ // Delete the query