From a5d6ab0170d02f42adda6bcc9209ec99bcb8fbbd Mon Sep 17 00:00:00 2001
From: Piotr Kosko
Date: Thu, 29 Jan 2015 12:28:47 +0100
Subject: [PATCH] [Messaging] fix for filters in messging
[Verification] TCT: MessageStorage_addConversationsChangeListener_with_filter pass
Change-Id: Iab17e320ccc452a359bddd49defa5c88490d061e
Signed-off-by: Piotr Kosko
---
src/messaging/messaging_api.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/messaging/messaging_api.js b/src/messaging/messaging_api.js
index ca57742b..d3858c2d 100644
--- a/src/messaging/messaging_api.js
+++ b/src/messaging/messaging_api.js
@@ -63,6 +63,8 @@ function addTypeToFilter_(data)
if (data instanceof tizen.AttributeFilter) {
filter.filterType = "AttributeFilter";
+ //convert to string
+ filter.matchValue = String(filter.matchValue);
} else if (data instanceof tizen.AttributeRangeFilter) {
filter.filterType = "AttributeRangeFilter";
} else if (data instanceof tizen.CompositeFilter) {
--
2.34.1