fix: Count exception occurs when searching conversations (#8754)

Co-authored-by: zheng.gao <zheng.gao@amh-group.com>
This commit is contained in:
gaocarri 2024-10-08 17:25:33 +08:00 committed by GitHub
parent e741ee2f45
commit 8204e0e14a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,6 +188,7 @@ class ChatConversationApi(Resource):
subquery.c.from_end_user_session_id.ilike(keyword_filter),
),
)
.group_by(Conversation.id)
)
account = current_user