summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/views_item.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py
index 631a46c96..03120ccda 100644
--- a/ishtar_common/views_item.py
+++ b/ishtar_common/views_item.py
@@ -3097,7 +3097,7 @@ def get_item(
# count in cache
n = datetime.datetime.now()
- search_vector = request_items.get("search_vector", "").strip()
+ search_vector = (request_items.get("search_vector", "") or "").strip()
# cache only for GUI search
cache_search = not selected_ids and (