aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models/HistoryModel.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-07-10 22:46:30 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-07-10 22:46:30 +0000
commitbe1d2d6c4c5623c6af59cf72e74e0335d1aa6cb5 (patch)
tree746bf827e4e7845dffad02b39db9185461c710b6 /h-source/Application/Models/HistoryModel.php
parent878f70432bdfdd12a5c9788cec3d04ed862eafa6 (diff)
improved the way the history messages are shown
Diffstat (limited to 'h-source/Application/Models/HistoryModel.php')
-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(