Happy New Year!
[platal.git] / classes / userfilter / orders.inc.php
index 8a872bd..c4bf3a1 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2013 Polytechnique.org                              *
+ *  Copyright (C) 2003-2014 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -76,7 +76,7 @@ class UFO_Promo extends PlFilterGroupableOrder
     protected function getSortTokens(PlFilter $uf)
     {
         if (UserFilter::isGrade($this->grade)) {
-            $sub = $uf->addEducationFilter($this->grade);
+            $sub = $uf->addEducationFilter(true, $this->grade);
             return 'pe' . $sub . '.' . UserFilter::promoYear($this->grade);
         } else {
             $sub = $uf->addDisplayFilter();