Skip to content

MultiSelectRelatedFilter has_output is wrong #20

Description

@Doomse

Hi, while the majority of these filters work great, I noticed one minor issue:

The has_output method in MultiSelectRelatedFilter as inherited by MultiSelectMixin disregards the None option which makes the filter disappear when only one related instance is available.

See the implementation by the super-class RelatedFieldListFilter for a working example.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions