diff options
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/views_item.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py index 878d5361e..94f8489ed 100644 --- a/ishtar_common/views_item.py +++ b/ishtar_common/views_item.py @@ -2916,7 +2916,8 @@ def get_item( search_vector = request_items.get("search_vector", "").strip() # cache only for GUI search - cache_search = search_vector or "submited" in request_items + cache_search = search_vector or any( + 1 for k in request_items if k.startswith("columns[")) q_cached_count = None if cache_search: q_cached_count_attrs = { @@ -2962,7 +2963,6 @@ def get_item( stats_modality_2, multiply=multiply, ) - table_cols = [col if col != [] else '' for col in table_cols] query_table_cols = [] for idx, cols in enumerate(table_cols): |
