From 9539b993018a30d6a71fa771c4330218598b29a6 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 19 Mar 2020 12:59:17 -0400 Subject: [PATCH] manually force 'adj volume' as a valid baseline iteration to build on. this is the iteration for 'new basket' --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index d1278b3..c4636e3 100644 --- a/index.js +++ b/index.js @@ -545,6 +545,7 @@ server.post('/new_basket', bodyParser.json(), function(req, res) { var callback = function(arg) { sql = arg; + req.body.scenario.iter.push("adj volume"); //intercept the request body and force in a "adj volume" at position 1, only a "copy" iteration is being used ({ c, w, d } = build_where(req, c, w, d, args));