Permalink
Browse files

FIX: user rating should sort the same direction as rating (reverse fr…

…om normal)
  • Loading branch information...
1 parent b7c5361 commit d00265b8f271965aa27e0f202be457381a517bb6 Jonathan Marshall committed Aug 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/GUIViewState.cpp
View
@@ -152,7 +152,7 @@ SORT_ORDER CGUIViewState::GetDisplaySortOrder() const
// default sort order for date, size, program count + rating is reversed
SORT_METHOD sortMethod = GetSortMethod();
if (sortMethod == SORT_METHOD_DATE || sortMethod == SORT_METHOD_SIZE || sortMethod == SORT_METHOD_PLAYCOUNT ||
- sortMethod == SORT_METHOD_VIDEO_RATING || sortMethod == SORT_METHOD_PROGRAM_COUNT ||
+ sortMethod == SORT_METHOD_VIDEO_RATING || sortMethod == SORT_METHOD_VIDEO_USER_RATING || sortMethod == SORT_METHOD_PROGRAM_COUNT ||
sortMethod == SORT_METHOD_SONG_RATING || sortMethod == SORT_METHOD_BITRATE || sortMethod == SORT_METHOD_LISTENERS)
{
if (m_sortOrder == SORT_ORDER_ASC) return SORT_ORDER_DESC;

0 comments on commit d00265b

Please sign in to comment.