Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();