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

LITE-30341 Fix filtering customer list report by tier type #35

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

jonatrios
Copy link
Contributor

No description provided.

@jonatrios jonatrios self-assigned this Aug 2, 2024
@jonatrios jonatrios requested a review from akodelia August 5, 2024 08:31
@jonatrios jonatrios force-pushed the LITE-30341-customer-list-report-is-broken branch from 69016a1 to 2b92be1 Compare August 5, 2024 11:53
Copy link

sonarqubecloud bot commented Aug 5, 2024

# (tier1 or tier2) and customer in choices -> all (no RLQ filter for tier_type)
# one or both of tier1/2 in choices -> R().type.eq('reseller')
# only customer in choices -> R().type.eq('customer')
parameter_choices = set(parameters['tier_type']['choices'])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[COD-B ] Let's include case when all flag was not use and the 3 values were sent, please.

@akodelia akodelia merged commit b3bba10 into master Aug 5, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants