import django_filters

from mrbelvedereci.build.models import BuildFlow

class BuildFlowFilter(django_filters.FilterSet):
    plan = django_filters.CharFilter(name="build__plan__name", label='Plan Name', lookup_expr='contains')
    build = django_filters.CharFilter(name='build')

    class Meta:
        model = BuildFlow
        fields = ['build','plan']
@@ -230,53 +230,259 @@
    b
-uild = django_filters.CharFilter(name='build'
+ranch = django_filters.CharFilter(name=%22build__branch__name%22, label='Branch Name', lookup_expr='contains')%0A    build = django_filters.CharFilter(name='build')%0A    start_date = django_filters.DateFromToRangeFilter(name=%22build__time_start%22, label=%22Date%22
 )%0A%0A 
@@ -522,16 +522,16 @@
 ildFlow%0A
-
         
@@ -554,9 +554,18 @@
 ','plan'
+,'branch'
 %5D

add branch search