Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAustin Schaffer <austin.schaffer@ryansg.com>2019-11-12 17:10:19 -0500
committerAustin Schaffer <austin.schaffer@ryansg.com>2019-11-12 17:10:19 -0500
commite737850efda0d3cb6f88625d02e311f89294f63a (patch)
tree25ea626878a5bbade2a091d070b1661655dd8edf /src
parentc5733d1dfff5bd71ecfc344dc5c7021c5bbc7ead (diff)
downloadliza-e737850efda0d3cb6f88625d02e311f89294f63a.tar.gz
liza-e737850efda0d3cb6f88625d02e311f89294f63a.tar.bz2
liza-e737850efda0d3cb6f88625d02e311f89294f63a.zip
[DEV-5312] Set processed flag
Diffstat (limited to 'src')
-rw-r--r--src/server/Server.js2
-rw-r--r--src/server/db/MongoServerDao.ts1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/server/Server.js b/src/server/Server.js
index d839d7b..8651f9d 100644
--- a/src/server/Server.js
+++ b/src/server/Server.js
@@ -340,6 +340,7 @@ module.exports = Class( 'Server' )
.setImported( quote_data.importedInd || false )
.setBound( quote_data.boundInd || false )
.needsImport( quote_data.importDirty || false )
+ .needsDeltaProcessing( quote_data.processed || true )
.setCurrentStepId(
quote_data.currentStepId
|| quote_program.getFirstStepId()
@@ -392,6 +393,7 @@ module.exports = Class( 'Server' )
importedInd: ( quote.isImported() ) ? 1 : 0,
boundInd: ( quote.isBound() ) ? 1 : 0,
importDirty: 0,
+ published: 1,
syncInd: 0,
boundInd: 0,
notifyInd: 0,
diff --git a/src/server/db/MongoServerDao.ts b/src/server/db/MongoServerDao.ts
index e2597cc..ef129b8 100644
--- a/src/server/db/MongoServerDao.ts
+++ b/src/server/db/MongoServerDao.ts
@@ -306,6 +306,7 @@ export class MongoServerDao extends EventEmitter implements ServerDao
save_data.id = id;
save_data.pver = quote.getProgramVersion();
save_data.importDirty = 1;
+ save_data.published = 0;
save_data.lastPremDate = quote.getLastPremiumDate();
save_data.initialRatedDate = quote.getRatedDate();
save_data.explicitLock = quote.getExplicitLockReason();