You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the last condition it's clear that the SQL is filtering by is_read = 'f'
Am I doing something wrong or this is a bug? I would like to be able to count how many unread messages I trashed.
Thanks.
-A.
The text was updated successfully, but these errors were encountered:
You are getting everything from conversations here. So my guess is they you have read and unread receipts trashed from the same conversations. So it is returning the same conversations. This isn't returning the individual receipts. Try something like below:
When I execute this from the console it returns the same number of conversations:
vs:
Or even:
vs:
When I use :unread => true I get this SQL from the console:
In the last condition it's clear that the SQL is filtering by is_read = 'f'
Am I doing something wrong or this is a bug? I would like to be able to count how many unread messages I trashed.
Thanks.
-A.
The text was updated successfully, but these errors were encountered: