diff --git a/xadmin/plugins/filters.py b/xadmin/plugins/filters.py index 46a5903ec..28ecb7aca 100644 --- a/xadmin/plugins/filters.py +++ b/xadmin/plugins/filters.py @@ -120,8 +120,8 @@ def get_list_queryset(self, queryset): if len(field_parts)>1: # Add related model name to title - spec.title = "%s %s"%(field_parts[-2].name,spec.title) - + #spec.title = "%s %s"%(field_parts[-2].name,spec.title) + spec.title = "%s"%(spec.title) # Check if we need to use distinct() use_distinct = (use_distinct or lookup_needs_distinct(self.opts, field_path))