From: Minje Ahn Date: Thu, 2 Apr 2020 03:28:19 +0000 (+0900) Subject: Reinforce description of order type X-Git-Tag: accepted/tizen/unified/20200403.153129~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F65%2F229565%2F3;p=platform%2Fcore%2Fapi%2Fmedia-content.git Reinforce description of order type Change-Id: Idd86abf81bb335ce0a0d6fae7c31e850078eed3b Signed-off-by: Minje Ahn --- diff --git a/include/media_filter.h b/include/media_filter.h index 57216cc..387a3ca 100755 --- a/include/media_filter.h +++ b/include/media_filter.h @@ -127,6 +127,10 @@ int media_filter_set_condition(filter_h filter, const char *condition, media_con * @brief Sets the media filter content @a order_type and @a order_keyword i.e. either descending or ascending. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * + * @remarks If @a order_type set to #MEDIA_CONTENT_ORDER_OTHER, media_filter sorts by referring only to the value of @a order_keyword. \n + * Therefore, @a order_keyword must include collation type and order type. \n + * e.g. MEDIA_DISPLAY_NAME COLLATE NOCASE DESC, MEDIA_MODIFIED_TIME DESC + * * @param[in] filter The handle to the media filter * @param[in] order_type The search order type * @param[in] order_keyword The search order keyword diff --git a/include_product/media_filter.h b/include_product/media_filter.h index 57216cc..387a3ca 100755 --- a/include_product/media_filter.h +++ b/include_product/media_filter.h @@ -127,6 +127,10 @@ int media_filter_set_condition(filter_h filter, const char *condition, media_con * @brief Sets the media filter content @a order_type and @a order_keyword i.e. either descending or ascending. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * + * @remarks If @a order_type set to #MEDIA_CONTENT_ORDER_OTHER, media_filter sorts by referring only to the value of @a order_keyword. \n + * Therefore, @a order_keyword must include collation type and order type. \n + * e.g. MEDIA_DISPLAY_NAME COLLATE NOCASE DESC, MEDIA_MODIFIED_TIME DESC + * * @param[in] filter The handle to the media filter * @param[in] order_type The search order type * @param[in] order_keyword The search order keyword