diff options
-rw-r--r-- | ishtar_common/models_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index eae946792..9de9893f8 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -890,7 +890,7 @@ class FullSearch(models.Model): def _update_search_number_field(self, search_vectors, val): try: search_vectors.append("'{}':1".format(int(val))) - except ValueError: + except (ValueError, TypeError): pass def update_search_vector(self, save=True, exclude_parent=False): |