Commit 0aaef96d authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Use specifically set statistic size over len of statistic values.

parent e03ed9a4
......@@ -190,5 +190,6 @@ class Search(Elastic):
def statistic_values(self, values):
self._statistic_values = values
if self._statistic_values is not None:
self.statistic_size = len(self._statistic_values)
if self.statistic_fixed_size is None:
self.statistic_size = len(self._statistic_values)
self.statistic_fixed_size = len(self._statistic_values)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment