Skip to content

Commit

Permalink
fixed the issue that export data will includes the draft evaluation data
Browse files Browse the repository at this point in the history
  • Loading branch information
nanli-emory committed Oct 2, 2023
1 parent 327630f commit 33000b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/dataHandlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ SeerService.getCollectionsData = async function(cids, user) {
});

// get all evaluation info
const evalQuery = {'slide_id': {'$in': slideIds}, 'creator': user};
const evalQuery = {'slide_id': {'$in': slideIds}, 'creator': user, 'is_draft': false};
// if (uid) evalQuery.creator = uid;
const evalData = await mongoDB.find('camic', 'evaluation', evalQuery, false);

Expand Down

0 comments on commit 33000b6

Please sign in to comment.