We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When creating an EntityFilter for with two conditions targeting the same M2M field, the resulting listview items are incorrect. For exemple, given
Class Stuff(CremeEntity): things = models.ManyToManyField(Thing ...)
The stuff resulting from a filter with conditions (things = a_thing) & (things != another_thing) would be wrong.
The text was updated successfully, but these errors were encountered:
There's a workaround: move one of the conditions in a sub-filter. Edit: a condition '!=' + a sub-filter with the condition '=' (order is important).
Sorry, something went wrong.
genglert
No branches or pull requests
When creating an EntityFilter for with two conditions targeting the same M2M field, the resulting listview items are incorrect.
For exemple, given
The stuff resulting from a filter with conditions (things = a_thing) & (things != another_thing) would be wrong.
The text was updated successfully, but these errors were encountered: