修改首页热门数据集和三江源数据集显示错误问题

This commit is contained in:
Li Jianxuan 2014-03-17 04:06:47 +00:00
parent 8d3d5ec066
commit 486f9801c8
1 changed files with 2 additions and 0 deletions

View File

@ -36,8 +36,10 @@ class IndexController extends AbstractActionController
$metadata = new \Westdc\Metadata\Outlink;
$metadata->opt->limit = 10;
$metadata->opt->order = "md.viewed";
$this->ViewModel->setVariable('metadata',$metadata->fetchAll());
$metadata->opt->order = "m.ts_created";
$metadata->opt->where = array(" ol.host='http://deep.qherc.org' ");
$this->ViewModel->setVariable('qinghaihu',$metadata->fetchAll());