From be1d2d6c4c5623c6af59cf72e74e0335d1aa6cb5 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 10 Jul 2011 22:46:30 +0000 Subject: improved the way the history messages are shown --- h-source/Application/Models/HistoryModel.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'h-source/Application/Models') 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( -- cgit v1.2.3