Backport
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 30 Apr 2007 15:24:04 +0000 (15:24 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 30 Apr 2007 15:24:04 +0000 (15:24 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1784 839d8a87-29fc-0310-9880-83ba4fa771e5

include/userset.inc.php

index 263bbb6..ec26304 100644 (file)
@@ -157,7 +157,7 @@ class MinificheView extends MultipageView
         }
         $this->addSortKey('name', array('nom', 'prenom'), 'nom');
         $this->addSortKey('promo', array('-promo', 'nom', 'prenom'), 'promotion');
-        $this->addSortKey('date', array('-watch_last', '-promo', 'nom', 'prenom'), 'dernière modification');
+        $this->addSortKey('date_mod', array('-watch_last', '-promo', 'nom', 'prenom'), 'dernière modification');
         parent::__construct($set, $data, $params);
     }
 
@@ -212,7 +212,7 @@ class MentorView extends MultipageView
         $this->addSortKey('rand', array('RAND(' . S::i('uid') . ')'), 'aléatoirement');
         $this->addSortKey('name', array('nom', 'prenom'), 'nom'); 
         $this->addSortKey('promo', array('-promo', 'nom', 'prenom'), 'promotion'); 
-        $this->addSortKey('date', array('-watch_last', '-promo', 'nom', 'prenom'), 'dernière modification'); 
+        $this->addSortKey('date_mod', array('-watch_last', '-promo', 'nom', 'prenom'), 'dernière modification'); 
         parent::__construct($set, $data, $params); 
     }