(self, mobile_user_and_group_slugs, can_access_all_locations, accessible_location_ids)
return filter_builder.get_filters(
            can_access_all_locations,
            accessible_location_ids,
            show_all_data,
            self.dynamic_filter_class.show_project_data(mobile_user_and_group_slugs),
            self.dynamic_filter_class.show_deactivated_data(mobile_user_and_group_slugs),
            self.dynamic_filter_class.selected_user_types(mobile_user_and_group_slugs),
            self.cleaned_data['date_range'],
            self._get_group_ids(mobile_user_and_group_slugs),
            self._get_locations_ids(mobile_user_and_group_slugs),
            self._get_user_ids(mobile_user_and_group_slugs),
        )
Taking reference from CaseListMixin allow filters depending on locations access
        :param mobile_user_and_group_slugs: ['g__e80c5e54ab552245457d2546d0cdbb03', 't__0', 't__1']
        :param can_access_all_locations: if request user has full organization access permission
        :return: set of filters
Taking reference from CaseListMixin allow filters depending on locations access
        :param mobile_user_and_group_slugs: ['g__e80c5e54ab552245457d2546d0cdbb03', 't__0', 't__1']
        :param can_access_all_locations: if request user has full organization access permission
        :return: set of filters
Taking reference from CaseListMixin allow filters depending on locations access : param mobile_user_and_group_slugs : [ g__e80c5e54ab552245457d2546d0cdbb03 t__0 t__1 ] : param can_access_all_locations : if request user has full organization access permission : return : set of filters
def get_model_filter(self, mobile_user_and_group_slugs, can_access_all_locations, accessible_location_ids):
        """
        Taking reference from CaseListMixin allow filters depending on locations access
        :param mobile_user_and_group_slugs: ['g__e80c5e54ab552245457d2546d0cdbb03', 't__0', 't__1']
        :param can_access_all_locations: if request user has full organization access permission
        :return: set of filters
        """
        filter_builder = CaseExportFilterBuilder(self.domain_object, self.timezone)
        show_all_data = self.dynamic_filter_class.show_all_data(mobile_user_and_group_slugs) or \
            self.dynamic_filter_class.no_filters_selected(mobile_user_and_group_slugs)
        return filter_builder.get_filters(
            can_access_all_locations,
            accessible_location_ids,
            show_all_data,
            self.dynamic_filter_class.show_project_data(mobile_user_and_group_slugs),
            self.dynamic_filter_class.show_deactivated_data(mobile_user_and_group_slugs),
            self.dynamic_filter_class.selected_user_types(mobile_user_and_group_slugs),
            self.cleaned_data['date_range'],
            self._get_group_ids(mobile_user_and_group_slugs),
            self._get_locations_ids(mobile_user_and_group_slugs),
            self._get_user_ids(mobile_user_and_group_slugs),
        )
def get_model_filter ( self , mobile_user_and_group_slugs , can_access_all_locations , accessible_location_ids ) : filter_builder = CaseExportFilterBuilder ( self . domain_object , self . timezone ) show_all_data = self . dynamic_filter_class . show_all_data ( mobile_user_and_group_slugs ) or self . dynamic_filter_class . no_filters_selected ( mobile_user_and_group_slugs ) return filter_builder . get_filters ( can_access_all_locations , accessible_location_ids , show_all_data , self . dynamic_filter_class . show_project_data ( mobile_user_and_group_slugs ) , self . dynamic_filter_class . show_deactivated_data ( mobile_user_and_group_slugs ) , self . dynamic_filter_class . selected_user_types ( mobile_user_and_group_slugs ) , self . cleaned_data [ 'date_range' ] , self . _get_group_ids ( mobile_user_and_group_slugs ) , self . _get_locations_ids ( mobile_user_and_group_slugs ) , self . _get_user_ids ( mobile_user_and_group_slugs ) , )