diff --git a/app/corpora/cqi/models/subcorpora.py b/app/corpora/cqi/models/subcorpora.py index 0e774db0..e84ae2ca 100644 --- a/app/corpora/cqi/models/subcorpora.py +++ b/app/corpora/cqi/models/subcorpora.py @@ -82,7 +82,8 @@ class Subcorpus: match = {'lc': lc, 'c': c, 'rc': rc} matches.append(match) lookups = self.corpus.lookups_by_cpos(cpos_list) - return {'matches': matches, **lookups} + return {'cpos_ranges': (not expand_lists), 'matches': matches, + **lookups} def fdist_1(self, cutoff, field, attribute): return self.client.api.cqp_fdist_1(self._name, cutoff,