Skip to content
Permalink
Browse files

Fixed a bug that caused timestamps to not be logged for textual queries.

  • Loading branch information...
ppanopticon committed Jul 24, 2019
1 parent 6d01092 commit f83edb895d6b114df9596a55bf496f5f4534e695
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/core/vbs/vbs-action.model.ts
@@ -68,7 +68,7 @@ export class VbsSubmission implements Submission {
case InteractionEventType.QUERY_TAG:
return <AtomicEvent>{category: "Text", type: ['concept'], value: component.context.get("q:value"), timestamp: timestamp};
case InteractionEventType.QUERY_FULLTEXT: {
const event = <AtomicEvent>{category: "Text", type: [], value: component.context.get("q:value")};
const event = <AtomicEvent>{category: "Text", type: [], value: component.context.get("q:value"), timestamp: timestamp};
const c = component.context.get("q:categories");
if (c.indexOf('ocr') > -1) event.type.push('ocr');
if (c.indexOf('asr') > -1) event.type.push('asr');

0 comments on commit f83edb8

Please sign in to comment.
You can’t perform that action at this time.