From bad14df62dbc922ffdda05cb78eb96c6dc2e1e87 Mon Sep 17 00:00:00 2001 From: "shiyangyangwork@yahoo.cn" Date: Fri, 30 Dec 2011 00:25:14 +0000 Subject: [PATCH] * fix a bug for search stories by closed in browse of product. --- module/product/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/product/control.php b/module/product/control.php index 8ca57fef92..c80849ac85 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -121,6 +121,7 @@ class product extends control if($browseType == 'draftstory') $stories = $this->story->getByStatus($productID, 'draft', $orderBy, $pager); if($browseType == 'activestory') $stories = $this->story->getByStatus($productID, 'active', $orderBy, $pager); if($browseType == 'changedstory')$stories = $this->story->getByStatus($productID, 'changed', $orderBy, $pager); + if($browseType == 'closedstory') $stories = $this->story->getByStatus($productID, 'closed', $orderBy, $pager); /* Build search form. */ $this->config->product->search['actionURL'] = $this->createLink('product', 'browse', "productID=$productID&browseType=bySearch&queryID=myQueryID");