From 565e065f8c6bcee64409e353329188182fab4fdb Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 12 Sep 2025 12:44:04 +0530 Subject: [PATCH] fix: display_id to id mapping not handled --- .../store/modules/conversations/helpers/filterHelpers.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/javascript/dashboard/store/modules/conversations/helpers/filterHelpers.js b/app/javascript/dashboard/store/modules/conversations/helpers/filterHelpers.js index 3f1c32059..3d627e3ef 100644 --- a/app/javascript/dashboard/store/modules/conversations/helpers/filterHelpers.js +++ b/app/javascript/dashboard/store/modules/conversations/helpers/filterHelpers.js @@ -64,11 +64,13 @@ const getValueFromConversation = (conversation, attributeKey) => { switch (attributeKey) { case 'status': case 'priority': - case 'display_id': case 'labels': case 'created_at': case 'last_activity_at': return conversation[attributeKey]; + case 'display_id': + // Frontend uses 'id' but backend expects 'display_id' + return conversation.display_id || conversation.id; case 'assignee_id': return conversation.meta?.assignee?.id; case 'inbox_id':