diff --git a/pandora/item/models.py b/pandora/item/models.py index ec5b5ba1..7c7fb483 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -594,8 +594,8 @@ class Item(models.Model): continue source = key['value']['key'] sort_type = key['value'].get('type', sort_type) - if isinstance(sort_type, list): - sort_type = sort_type[0] + if isinstance(sort_type, list): + sort_type = sort_type[0] if name not in base_keys: if sort_type == 'title':