Skip to content
Snippets Groups Projects
Commit 0aaef96d authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Use specifically set statistic size over len of statistic values.

parent e03ed9a4
No related branches found
No related tags found
1 merge request!172V0.8.9
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment