diff --git a/application/admin/controllers/ReviewController.php b/application/admin/controllers/ReviewController.php index f37e60c4..8f76dbaf 100644 --- a/application/admin/controllers/ReviewController.php +++ b/application/admin/controllers/ReviewController.php @@ -816,7 +816,7 @@ class Admin_ReviewController extends Zend_Controller_Action right join metadata md on md.uuid=m.uuid left join users u on u.id=m.userid left join geonetworkmetadata gn on m.uuid=gn.uuid - where status=0 $searchjoin order by m.ts_created desc"; + where m.status=0 $searchjoin order by m.ts_created desc"; $re = $this->db->query($sql); $rows = $re->fetchAll();