Multiple search answers

This commit is contained in:
Wisani Shilumani 2018-07-17 17:35:04 +02:00
parent 76bcc1989b
commit b556b04b8f

View File

@ -191,7 +191,7 @@ class BrowseArchives extends React.Component {
if (index !== -1 && interview.activeIndex !== -1) {
foundIndex = questionIndex;
positionInAnswer = index;
matchingQuestionAnswerPositions.push({
matchingQuestionAnswerPositions.push({
id: question.question,
strpos: index,
answer: question.answer,
@ -206,9 +206,6 @@ class BrowseArchives extends React.Component {
interviewData,
});
// eslint-disable-next-line
console.log(matchingQuestionAnswerPositions);
if (matchingQuestions.length > 0) {
return {
found: true,