aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Models')
-rw-r--r--h-source/Application/Models/HistoryModel.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/h-source/Application/Models/HistoryModel.php b/h-source/Application/Models/HistoryModel.php
index 2176a4a..daeda1f 100644
--- a/h-source/Application/Models/HistoryModel.php
+++ b/h-source/Application/Models/HistoryModel.php
@@ -25,7 +25,10 @@ class HistoryModel extends Model_Tree {
public function __construct() {
$this->_tables = 'history';
$this->_idFields = 'id_history';
-
+
+ $this->_where=array(
+ 'approved' => 'hardware',
+ );
$this->orderBy = 'history.id_history';
$this->_popupFunctions = array(