-
Notifications
You must be signed in to change notification settings - Fork 6
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: missing notifications due to LegalHold not Notified (WPB-10351) #2905
fix: missing notifications due to LegalHold not Notified (WPB-10351) #2905
Conversation
Quality Gate passedIssues Measures |
@@ -16,12 +16,12 @@ SELECT | |||
Conversation.type AS conversationType, | |||
Conversation.degraded_conversation_notified AS degradedConversationNotified, | |||
Conversation.legal_hold_status AS legalHoldStatus, | |||
LegalHoldNotified.legal_hold_status_change_notified AS legalHoldStatusChangeNotified | |||
IFNULL(LegalHoldNotified.legal_hold_status_change_notified, 1) == 1 AS legalHoldStatusChangeNotified |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I assumed the default value from the table (Boolean = 1), but please @borichellow that has more context, correct me if otherwise :D
Datadog ReportBranch report: ✅ 0 Failed, 2923 Passed, 107 Skipped, 6.3s Total Time |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
This PR solves a bug introduced by #2874 , assuming that we have always a notification about LH in the conversations
Causes (Optional)
Notifications not being received
Solutions
LEFT join and assume true (same default value for the table) in case missing.
Added test to cover the case.
Testing
Test Coverage (Optional)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.