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))