diff --git a/web/app/static/js/modules/corpus_analysis/view/ResultsView.js b/web/app/static/js/modules/corpus_analysis/view/ResultsView.js index e2afbf74..cffdd1b1 100644 --- a/web/app/static/js/modules/corpus_analysis/view/ResultsView.js +++ b/web/app/static/js/modules/corpus_analysis/view/ResultsView.js @@ -792,8 +792,22 @@ class ResultsList extends List { ` for (let [outerKey, outerValue] of Object.entries(metaDataObject)) { - html += ` - ${outerKey.replace(/_/g, " ")}` + // Use more descriptive names + if (outerKey === 'corpus_all_texts') { + let tmpName = 'All texts in this corpus'; + html += ` + ${tmpName.replace(/_/g, " ")} + ` + } else if (outerKey === 'text_lookup') { + let tmpName = 'Texts where the query resulted in matches' + html += ` + ${tmpName.replace(/_/g, " ")} + ` + } else { + html += ` + ${outerKey.replace(/_/g, " ")} + ` + } if (outerKey === "corpus_all_texts" || outerKey === "text_lookup") { html += `