Skip to content

Filter 'and' logic is broken #43

Description

@zatarus

I was expecting products with weight between 3 and 4, however this gives OR query instead:
Product.objects.filter(eav__weight__gt=3, eav__weight__lt=4)
.. so I received weight with 2 because it was less than 4.

Django's filter convention is to use that as a AND query, I think that should change to that.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions