SortType

From Gvp-public
Revision as of 15:54, 4 October 2015 by Id02256 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lists of the new unified SortType.

This SortType is already implemented on SearchContent and GetChannelCatalogItems.

SortOrder has been implemented in a way to order ascending and descending for SortType.

Values

Value Name Details Movies/Series/Season LiveSchedule
0 Default Not specified, will be ordered by default ordering (ID), but using the PID Order by Movie.PID Order by LiveSchedule.PID
1 Title Order by title Order by Movie Metadata Title Order by Live Schedule related Live Program Title
2 Release Date Order by Release date Order by Movie.RELEASE_DATE Order by Live Schedule related Live Program RELEASE_DATE (start time)
3 Publication Date Order by the publication date of the content in the platform (Movie.STATUS_DATE) Order by Movie Status date Order by Live Schedule start date
4 Availability date Order by Availability Window date Order by Movie current active Availability Window start date Order by Live Schedule start date
5 Popularity Order by most popular contents (most viewed) first. Not recommended to be used for LiveSchedule CatalogItemType Order by Movie Views number As Live Schedule don't have views, they will have always VIEWS = 0
6 Editorial rating Order by editorial rating Order by Movie Promotional rating value Order by Live Schedule.Rating value
7 Most rated Order by movie user rating. Not recommended to be used for LiveSchedule CatalogItemType Order by Movie.Rating value As Live Schedule don't have views, they will have always VIEWS = 0
20 Episode Order InvalidSortTypeException InvalidSortTypeException InvalidSortTypeException
21 Season Order InvalidSortTypeException InvalidSortTypeException InvalidSortTypeException
22 Relevance (Search Only) Order by relevance in search result (best matching first) Order by relevance of search result Order by relevance of search result


Known issues

None


Version history

API Version Number Change description Changes author
3.2 Initial Implementation Ricardo Calvo


See also