From 95e26719adc90fad97bb45aa4bd21d9b398b5c40 Mon Sep 17 00:00:00 2001 From: Deyan Dobromirov Date: Tue, 27 Aug 2024 18:51:53 +0300 Subject: [PATCH] Updated: Query store selection operator --- lua/autorun/trackassembly_init.lua | 2 +- lua/trackassembly/trackasmlib.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/autorun/trackassembly_init.lua b/lua/autorun/trackassembly_init.lua index c5ebcdad..0cac02c5 100644 --- a/lua/autorun/trackassembly_init.lua +++ b/lua/autorun/trackassembly_init.lua @@ -86,7 +86,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present ------------ CONFIGURE ASMLIB ------------ asmlib.InitBase("track","assembly") -asmlib.SetOpVar("TOOL_VERSION","8.779") +asmlib.SetOpVar("TOOL_VERSION","8.780") ------------ CONFIGURE GLOBAL INIT OPVARS ------------ diff --git a/lua/trackassembly/trackasmlib.lua b/lua/trackassembly/trackasmlib.lua index 4a47984f..6ceef005 100644 --- a/lua/trackassembly/trackasmlib.lua +++ b/lua/trackassembly/trackasmlib.lua @@ -2584,10 +2584,10 @@ function NewTable(sTable,defTab,bDelete,bReload) end -- Store built query in command list function self:Store(vK, sQ) - local qtCmd = self:GetCommand() if(not IsHere(vK)) then return self end + local qtCmd = self:GetCommand() -- Current query local mQ, tQ = qtCmd.STMT, GetOpVar("QUERY_STORE") - local sQ = (sQ or (mQ and qtCmd[mQ]) or nil) + local sQ = (sQ or (mQ and qtCmd[mQ] or nil)) LogInstance("Entry "..GetReport(vK, sQ), tabDef.Nick) tQ[vK] = sQ; return self end