diff options
Diffstat (limited to 'h-source/Application/Models/HistoryModel.php')
-rw-r--r-- | h-source/Application/Models/HistoryModel.php | 5 |
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( |