From 37526a6b43ea68ee5767ba7d3ac2755907041222 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Wed, 1 Apr 2020 14:25:49 +0200 Subject: [PATCH 1/2] Use expanded List --- app/corpora/pj_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: From bfd7591f4d63fc8e84817eb0d7ec74d528664a4f Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Wed, 1 Apr 2020 14:27:01 +0200 Subject: [PATCH 2/2] add comment --- app/static/js/nopaque.CorpusAnalysisClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/nopaque.CorpusAnalysisClient.js b/app/static/js/nopaque.CorpusAnalysisClient.js index 4022b916..382c09e4 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);