diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2010-10-21 18:01:25 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2010-10-21 18:01:25 +0000 |
commit | 871d4231da58aff1902cdf260e887e1ee52d1716 (patch) | |
tree | 42787c4361f6f5c0a41aff97b1f098d3901f930f | |
parent | 7d5c4370ef18072c936cde31b095f207056bc06b (diff) |
minor changes in IssuesController and IssuesModel
-rw-r--r-- | h-source/Application/Controllers/IssuesController.php | 2 | ||||
-rw-r--r-- | h-source/Application/Models/IssuesModel.php | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/IssuesController.php b/h-source/Application/Controllers/IssuesController.php index 80a9486..02f6499 100644 --- a/h-source/Application/Controllers/IssuesController.php +++ b/h-source/Application/Controllers/IssuesController.php @@ -90,7 +90,7 @@ class IssuesController extends BaseController //load the Pages helper $this->helper('Pages',$this->controller.'/viewall/'.$this->lang,'page'); //get the number of records - $this->m['IssuesModel']->from('issues left join messages')->using('id_issue')->aWhere(array('deleted'=>'no','-deleted'=>'no'))->groupBy('issues.id_issue'); + $this->m['IssuesModel']->from('issues left join messages')->using('id_issue')->aWhere(array('deleted'=>'no'))->groupBy('issues.id_issue'); $recordNumber = $this->m['IssuesModel']->rowNumber(); $page = $this->viewArgs['page']; diff --git a/h-source/Application/Models/IssuesModel.php b/h-source/Application/Models/IssuesModel.php index 115c0f3..8ca8a52 100644 --- a/h-source/Application/Models/IssuesModel.php +++ b/h-source/Application/Models/IssuesModel.php @@ -30,7 +30,6 @@ class IssuesModel extends Model_Tree { 'priority' => 'issues', 'status' => 'issues', 'topic' => 'issues', - '-deleted' => 'messages', ); $this->_popupItemNames = array( |