From 0498ede88c907fca32a3a3e2d0111d77fbb41e98 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 30 Nov 2015 10:22:02 +0100 Subject: [PATCH] fields: export Field.in_fielters through Formdef schema API (#9140) --- wcs/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcs/fields.py b/wcs/fields.py index fd037bb..53e8797 100644 --- a/wcs/fields.py +++ b/wcs/fields.py @@ -148,7 +148,7 @@ class Field(object): else: extra_fields = [] for attribute in self.get_admin_attributes() + extra_fields: - if attribute in ('in_listing', 'in_filters'): + if attribute in ('in_listing',): continue if hasattr(self, attribute) and getattr(self, attribute) is not None: val = getattr(self, attribute) -- 2.1.4