fix: unattended count mismatch in report and list (#7263)

This commit is contained in:
Shivam Mishra
2023-06-08 17:58:13 +05:30
committed by GitHub
parent 2b7989f52b
commit 2f2ae88cba
3 changed files with 3 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ class ConversationFinder
when 'participating'
@conversations = current_user.participating_conversations.where(account_id: current_account.id)
when 'unattended'
@conversations = @conversations.where(first_reply_created_at: nil)
@conversations = @conversations.unattended
end
@conversations
end