No fitler description if no filter_fields defined.

This commit is contained in:
Camille Harang 2012-07-13 00:13:06 +02:00
parent 7937546177
commit 8253db67cc

View File

@ -835,6 +835,8 @@ class FilterMixin(object):
desc = super(FilterMixin, self).get_description(html)
if not len(self.filter_fields): return desc
filter_desc_req = u' (required)' if self.filter_required else u''
# Sort fields and lookup suffixes in alphabetical order for readability.