diff --git a/djangosphinx/models.py b/djangosphinx/models.py index 5812ba1..f1984d9 100644 --- a/djangosphinx/models.py +++ b/djangosphinx/models.py @@ -470,7 +470,7 @@ def _handle_filters(filter_list, exclude=False): value -= (1.0/MAX_INT) else: value -= 1 - _max = -MAX_INT + _max = 0 if is_float: _max = float(_max) args = (name, _max, value, exclude)