Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1806 from fetzerch/pvr-sorting

pvr: Sort recordings view by date as default
  • Loading branch information...
commit b469250e82082378b719484c5b3ff6508e7c66a1 2 parents 17e59e0 + 65ffefc
@opdenkamp opdenkamp authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  xbmc/pvr/windows/GUIViewStatePVR.cpp
View
3  xbmc/pvr/windows/GUIViewStatePVR.cpp
@@ -40,6 +40,9 @@ CGUIViewStatePVR::CGUIViewStatePVR(const CFileItemList& items) :
AddSortMethod(SORT_METHOD_SIZE, 553, LABEL_MASKS("%L", "%I", "%L", "%I")); // FileName, Size | Foldername, Size
AddSortMethod(SORT_METHOD_DATE, 552, LABEL_MASKS("%L", "%J", "%L", "%J")); // FileName, Date | Foldername, Date
AddSortMethod(SORT_METHOD_FILE, 561, LABEL_MASKS("%L", "%I", "%L", "")); // Filename, Size | FolderName, empty
+
+ // Sort recordings view by date as default
+ SetSortMethod(SORT_METHOD_DATE);
}
LoadViewState(items.GetPath(), ActiveView == PVR_WINDOW_UNKNOWN ? WINDOW_PVR : WINDOW_PVR + 100 - ActiveView );
Please sign in to comment.
Something went wrong with that request. Please try again.