1. Luke Plant
  2. django-easyfilters


Luke Plant  committed 0f37839

Fixed 'title' to only include choices that have been explicitly selected

  • Participants
  • Parent commits a336672
  • Branches default

Comments (0)

Files changed (1)

File django_easyfilters/filterset.py

View file
  • Ignore whitespace
         return u", ".join(c.label
                           for f in title_fields
                           for c in self.get_filter_choices(f)
-                          if c.link_type != FILTER_ADD)
+                          if c.link_type == FILTER_REMOVE)
     def __unicode__(self):
         return self.render()