aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application')
-rw-r--r--h-source/Application/Controllers/BaseController.php2
-rw-r--r--h-source/Application/Include/distributions.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/BaseController.php b/h-source/Application/Controllers/BaseController.php
index c636f8d..eb8042d 100644
--- a/h-source/Application/Controllers/BaseController.php
+++ b/h-source/Application/Controllers/BaseController.php
@@ -110,7 +110,7 @@ class BaseController extends Controller
{
$hard = new HardwareModel();
- $data['stat'] = $hard->clear()->select('type,count(*) AS numb')->where(array('-deleted'=>'no'))->groupBy('type')->toList('type','aggregate.numb')->send();
+ $data['stat'] = $hard->clear()->select('type,count(*) AS numb')->where(array('-deleted'=>'no','cleared'=>'no'))->groupBy('type')->toList('type','aggregate.numb')->send();
$logged = $this->s['registered']->getUsersLogged();
diff --git a/h-source/Application/Include/distributions.php b/h-source/Application/Include/distributions.php
index ca8dd0a..191c1ae 100644
--- a/h-source/Application/Include/distributions.php
+++ b/h-source/Application/Include/distributions.php
@@ -37,6 +37,7 @@ class Distributions
'trisquel_3_5' => 'Trisquel 3.5 Awen',
'trisquel_4_0' => 'Trisquel 4.0 Taranis',
'trisquel_4_5' => 'Trisquel 4.5 Slaine',
+ 'trisquel_5_0' => 'Trisquel 5.0 Dagda',
'ututo_xs_2009' => 'UTUTO XS 2009',
'ututo_xs_2010' => 'UTUTO XS 2010',
'venenux_0_8' => 'VENENUX 0.8',