From 6a9c805855fcb685f324838815e307d84591c3dc Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Tue, 18 Mar 2014 02:50:27 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=89=E7=83=AD=E5=BA=A6?= =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=97=B6=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/Metadata/src/Metadata/Controller/IndexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Metadata/src/Metadata/Controller/IndexController.php b/module/Metadata/src/Metadata/Controller/IndexController.php index c8dd5d0a..92db9610 100644 --- a/module/Metadata/src/Metadata/Controller/IndexController.php +++ b/module/Metadata/src/Metadata/Controller/IndexController.php @@ -117,7 +117,7 @@ class IndexController extends AbstractActionController if($order == "title") $metadata->opt->order = "m.title"; if($order == "viewed") - $metadata->opt->order = "m.viewedcount"; + $metadata->opt->order = "md.viewed"; } if(!empty($sort))