Permalink
Browse files

DatabaseUtils: add missing handling of FieldEpisodeNumberSpecialSort …

…and FieldSeasonSpecialSort
  • Loading branch information...
1 parent ff1b9a8 commit c2dca6fffd7f74ddaa02403072e9ca0680cd1a7b @Montellese Montellese committed Aug 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/utils/DatabaseUtils.cpp
@@ -235,6 +235,8 @@ std::string DatabaseUtils::GetField(Field field, MediaType mediaType, DatabaseQu
else if (field == FieldDirector) result.Format("episodeview.c%02d", VIDEODB_ID_EPISODE_DIRECTOR);
else if (field == FieldSeason) result.Format("episodeview.c%02d", VIDEODB_ID_EPISODE_SEASON);
else if (field == FieldEpisodeNumber) result.Format("episodeview.c%02d", VIDEODB_ID_EPISODE_EPISODE);
+ else if (field == FieldEpisodeNumberSpecialSort) result.Format("episodeview.c%02d", VIDEODB_ID_EPISODE_SORTEPISODE);
+ else if (field == FieldSeasonSpecialSort) result.Format("episodeview.c%02d", VIDEODB_ID_EPISODE_SORTSEASON);
else if (field == FieldFilename) return "episodeview.strFilename";
else if (field == FieldPath) return "episodeview.strPath";
else if (field == FieldPlaycount) return "episodeview.playCount";

0 comments on commit c2dca6f

Please sign in to comment.