Skip to content

Commit

Permalink
restored the functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
yghokim committed Aug 22, 2020
1 parent 9291c58 commit 064c57b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions server/controllers/research/ot_experiment_data_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class OTExperimentDataCtrl {
const experimentId = req.params.experimentId
const researcherId = req.researcher.uid

const includeFiles = req.body.includeFiles || false
const includeFiles = req.body.includeFiles || true

if (experimentId != null && researcherId != null) {
try {
Expand Down Expand Up @@ -139,7 +139,7 @@ export class OTExperimentDataCtrl {
}

const itemRows: Array<Array<any>> = [
commonColumns.concat(injectedAttrNames).concat(["logged at", "captured", "est_session_duration", "est_session_duration_whole", "candidate_durations"]).concat(metadataColumns.map(c => this.styleMetadataKeyString(c)))
commonColumns.concat(injectedAttrNames).concat(["logged at", "captured" /*, "est_session_duration", "est_session_duration_whole", "candidate_durations"*/]).concat(metadataColumns.map(c => this.styleMetadataKeyString(c)))
]

for (const tracker of trackers) {
Expand Down Expand Up @@ -220,9 +220,9 @@ export class OTExperimentDataCtrl {
.concat([
new TimePoint(item.timestamp, item.timezone).toMoment().format(),
this.getItemSourceText(item.source),
sessionDuration,
item.timestamp - item.metadata.screenAccessedAt,
candidateSessionDurationText
//sessionDuration,
//item.timestamp - item.metadata.screenAccessedAt,
//candidateSessionDurationText
]
.concat(metadataColumns.map(m => this.getMetadataValue(item, m)))
)
Expand Down

0 comments on commit 064c57b

Please sign in to comment.