change order field
This commit is contained in:
parent
1ddf224f3c
commit
bc4a157303
|
@ -37,7 +37,7 @@ class IndexController extends AbstractActionController
|
||||||
$metadata = new \Westdc\Metadata\Outlink;
|
$metadata = new \Westdc\Metadata\Outlink;
|
||||||
$metadata->opt->limit = 10;
|
$metadata->opt->limit = 10;
|
||||||
$metadata->opt->sort = "desc";
|
$metadata->opt->sort = "desc";
|
||||||
$metadata->opt->order = "m.id";
|
$metadata->opt->order = "m.ts_created";
|
||||||
$this->ViewModel->setVariable('metadata_latest',$metadata->fetchAll());
|
$this->ViewModel->setVariable('metadata_latest',$metadata->fetchAll());
|
||||||
|
|
||||||
$metadata->opt->order = "md.viewed";
|
$metadata->opt->order = "md.viewed";
|
||||||
|
|
Loading…
Reference in New Issue