Projet

Général

Profil

0001-fields-export-Field.in_fielters-through-Formdef-sche.patch

Benjamin Dauvergne, 30 novembre 2015 10:23

Télécharger (866 octets)

Voir les différences:

Subject: [PATCH] fields: export Field.in_fielters through Formdef schema API
 (#9140)

 wcs/fields.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/fields.py
148 148
        else:
149 149
            extra_fields = []
150 150
        for attribute in self.get_admin_attributes() + extra_fields:
151
            if attribute in ('in_listing', 'in_filters'):
151
            if attribute in ('in_listing',):
152 152
                continue
153 153
            if hasattr(self, attribute) and getattr(self, attribute) is not None:
154 154
                val = getattr(self, attribute)
155
-