From 569e579fdce570f25414b168930425b6221c1d10 Mon Sep 17 00:00:00 2001 From: joeshaw Date: Thu, 18 Aug 2005 21:37:10 +0000 Subject: [PATCH] Send along the type data in a QueryPart from libbeagle. Fix from D Bera --- libbeagle/beagle/beagle-query-part-property.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/libbeagle/beagle/beagle-query-part-property.c b/libbeagle/beagle/beagle-query-part-property.c index ca76a31d..17ad90f1 100644 --- a/libbeagle/beagle/beagle-query-part-property.c +++ b/libbeagle/beagle/beagle-query-part-property.c @@ -56,6 +56,19 @@ beagle_query_part_property_to_xml (BeagleQueryPart *part, GError **err) _beagle_query_part_append_standard_header (data, "Property", priv->logic); + + switch (priv->prop_type) { + case BEAGLE_PROPERTY_TYPE_TEXT: + g_string_append (data, "Text"); + break; + case BEAGLE_PROPERTY_TYPE_KEYWORD: + g_string_append (data, "Keyword"); + break; + case BEAGLE_PROPERTY_TYPE_DATE: + g_string_append (data, "Date"); + break; + } + g_string_append_printf (data, "%s", priv->key); g_string_append_printf (data, "%s", priv->value); -- 2.11.4.GIT