from caminae.land.filters import EdgeFilterSet

from .models import Trek, POI


class TrekFilter(EdgeFilterSet):
    class Meta(EdgeFilterSet.Meta):
        model = Trek
        fields = EdgeFilterSet.Meta.fields + ['difficulty']


class POIFilter(EdgeFilterSet):
    class Meta(EdgeFilterSet.Meta):
        model = POI
        fields = EdgeFilterSet.Meta.fields + ['type']

@@ -221,16 +221,89 @@
 ficulty'
+, 'duration', 'themes', 'networks', 'usages', 'route', 'is_park_centered'
 %5D%0A%0A%0Aclas

Add missing fields in filters (ref #501)