diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-07-10 22:46:30 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-07-10 22:46:30 +0000 |
commit | be1d2d6c4c5623c6af59cf72e74e0335d1aa6cb5 (patch) | |
tree | 746bf827e4e7845dffad02b39db9185461c710b6 /h-source/Application/Models | |
parent | 878f70432bdfdd12a5c9788cec3d04ed862eafa6 (diff) |
improved the way the history messages are shown
Diffstat (limited to 'h-source/Application/Models')
-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( |