[CW-2391] Filter on labels not working as intended #7463
Labels
🐞 bug
Something isn't working
🗃️ feature/conversation-filter
Issues related to conversation filter
linear
Low priority
Created by Linear-GitHub Sync
Describe the bug
Filter based on labels does not filter out correct conversations.
To Reproduce
Expected behavior
Using the above filter the conversations that have
child_customer
,z_kids_first_audio_received
labels and do not havez_kids_second_audio_received
label should be present, but we get conversations that has thez_kids_second_audio_received
label (4th conversation in the below image).Environment
Linux VM
Cloud Provider
DigitalOcean
Platform
None
Operating system
No response
Browser and version
No response
Docker (if applicable)
No response
Additional context
Going through the code it seems like the issue lies at the left_outer_join (https://github.com/chatwoot/chatwoot/blob/develop/app/services/conversations/filter_service.rb).
Let us know the correct way to use the filters if we are not using it correctly.
From SyncLinear.com | CW-2391
The text was updated successfully, but these errors were encountered: