Skip to content
New issue

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

Fix issues with some operators in activity report #27

Merged
merged 1 commit into from
Mar 5, 2020

Conversation

pfigel
Copy link
Collaborator

@pfigel pfigel commented Mar 4, 2020

This fixes a number of issues with the "Is not one of", "Is empty (Null)" and "Is not empty (Null)" operators for the "Campaign(s)", "Assigned To" and "Created By" fields. These operators previously did not work as the generated SQL was invalid.

Additionally, for the "Is not one of" operator, the query was changed so it included values with a NULL value, which is consistent with core behaviour.

This also ensures that values are properly escaped for SQL.

This fixes a number of issues with the "Is not one of", "Is empty (Null)"
and "Is not empty (Null)" operators for the "Campaign(s)", "Assigned To"
and "Created By" fields. These operators previously did not work as the
generated SQL was invalid. Additionally, for the "Is not one of" operator,
the query was changed so it included values with a NULL value, which
is consistent with core behaviour.
@bjendres bjendres merged commit 10dbb45 into systopia:master Mar 5, 2020
@bjendres
Copy link
Member

bjendres commented Mar 5, 2020

Looks good, thanks @pfigel

@bjendres bjendres added this to the 1.2 milestone Mar 5, 2020
@bjendres bjendres added the bug label Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants