fix bug:skipped setting count in unmarshaling query 53/66253/2
authorJeesun Kim <iamjs.kim@samsung.com>
Mon, 18 Apr 2016 05:54:33 +0000 (14:54 +0900)
committerJongkyu Koo <jk.koo@samsung.com>
Thu, 12 May 2016 02:33:09 +0000 (19:33 -0700)
Change-Id: Ifdf809b6f17615670e1fca15d81b7b53a9d07753

common/dbus/cal_dbus_helper.c

index 13ec8a8..0508c5c 100644 (file)
@@ -1295,6 +1295,8 @@ int cal_dbus_utils_gvariant_to_query(GVariant *arg_query, calendar_query_h *out_
                _gvariant_to_projection(count_projection, arg_projection, q);
 
        q->sort_property_id = property_id;
+       q->properties = (cal_property_info_s *)cal_view_get_property_info(view_uri,
+                       &q->property_count);
        q->asc = has_asc;
        q->distinct = has_distinct;