* fix a bug for search stories by closed in browse of product.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-12-30 00:25:14 +00:00
parent a789f30aa7
commit bad14df62d

View File

@@ -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");