fix movielist sort bug, by Tero Mannninen
authorFelix Domke <tmbinc@elitedvb.net>
Fri, 6 Jun 2008 00:20:22 +0000 (00:20 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Fri, 6 Jun 2008 00:20:22 +0000 (00:20 +0000)
lib/python/Components/MovieList.py

index 07dd115..a0bd733 100644 (file)
@@ -229,7 +229,7 @@ class MovieList(GUIComponent):
                ref = x[0]
                info = self.serviceHandler.info(ref)
                name = info and info.getName(ref)
-               return name and name.lower() or ""
+               return (name and name.lower() or "", -x[2])
 
        def moveTo(self, serviceref):
                count = 0