diff --git a/app/corpora/pj_events.py b/app/corpora/pj_events.py index 7da9985e..59645139 100644 --- a/app/corpora/pj_events.py +++ b/app/corpora/pj_events.py @@ -80,7 +80,7 @@ def pj_corpus_analysis_query(query): if client.status == 'abort': break chunk = results.export(context=context, cutoff=chunk_size, - offset=chunk_start) + expand_lists=True, offset=chunk_start) if (results.size == 0): progress = 100 else: diff --git a/app/static/js/nopaque.CorpusAnalysisClient.js b/app/static/js/nopaque.CorpusAnalysisClient.js index 7d0ec9d6..dac32375 100644 --- a/app/static/js/nopaque.CorpusAnalysisClient.js +++ b/app/static/js/nopaque.CorpusAnalysisClient.js @@ -4,7 +4,7 @@ class CorpusAnalysisClient { this.corpusId = corpusId; this.displays = {}; this.socket = socket; - this.resultList = {}; + this.resultList = {}; // why do you save it here? we have a global variable results // js list options and intialization let displayOptionsData = this.getDisplayOptions(displayOptionsFormElement);