From d3e9a1e108b2147e9c2553f3e2eab6109034b3c0 Mon Sep 17 00:00:00 2001
From: cortylal <alexcortyl@gmail.com>
Date: Thu, 19 Jun 2014 02:39:10 +0200
Subject: [PATCH] stats

---
 class/stats.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/class/stats.php b/class/stats.php
index 5fd6536..67412db 100644
--- a/class/stats.php
+++ b/class/stats.php
@@ -157,7 +157,7 @@ class Stats
                                                 WHERE e.id = r.employe
                                                 AND e.is_veterinaire = '1'
                                                 GROUP BY e.nom, e.prenom, e.id
-                                                ORDER BY c DESC
+                                                ORDER BY count DESC
                                                 LIMIT 5" ); // on prépare notre requête
         $requete_prepare->execute();
 
-- 
GitLab