Skip to content
This repository
Browse code

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
Lars Op den Kamp authored November 16, 2012

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  xbmc/pvr/windows/GUIViewStatePVR.cpp
3  xbmc/pvr/windows/GUIViewStatePVR.cpp
@@ -40,6 +40,9 @@ CGUIViewStatePVR::CGUIViewStatePVR(const CFileItemList& items) :
40 40
     AddSortMethod(SORT_METHOD_SIZE, 553, LABEL_MASKS("%L", "%I", "%L", "%I"));  // FileName, Size | Foldername, Size
41 41
     AddSortMethod(SORT_METHOD_DATE, 552, LABEL_MASKS("%L", "%J", "%L", "%J"));  // FileName, Date | Foldername, Date
42 42
     AddSortMethod(SORT_METHOD_FILE, 561, LABEL_MASKS("%L", "%I", "%L", ""));  // Filename, Size | FolderName, empty
  43
+
  44
+    // Sort recordings view by date as default
  45
+    SetSortMethod(SORT_METHOD_DATE);
43 46
   }
44 47
 
45 48
   LoadViewState(items.GetPath(), ActiveView == PVR_WINDOW_UNKNOWN ? WINDOW_PVR : WINDOW_PVR + 100 - ActiveView );

0 notes on commit b469250

Please sign in to comment.
Something went wrong with that request. Please try again.