diff options
Diffstat (limited to 'ishtar_common/views_item.py')
| -rw-r--r-- | ishtar_common/views_item.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py index b53beab90..211cb7897 100644 --- a/ishtar_common/views_item.py +++ b/ishtar_common/views_item.py @@ -568,7 +568,9 @@ def _manage_hierarchic_fields(dct, and_reqs):                      suffix = 'cached_label__iexact'                  else:                      continue -                val = _clean_type_val(dct.pop(req)) +                val = _clean_type_val(dct.pop(req)).strip('"') +                if val.startswith('"') and val.endswith('"'): +                    val = val[1:-1]                  reqs = Q(**{req: val})                  base_req = req[:]                  for idx in range(HIERARCHIC_LEVELS): | 
