diff --git a/components/com_finder/models/search.php b/components/com_finder/models/search.php index c74dad5256500..6735e1dd7c8ff 100644 --- a/components/com_finder/models/search.php +++ b/components/com_finder/models/search.php @@ -225,7 +225,8 @@ protected function getListQuery() ->select('l.link_id') ->from($db->quoteName('#__finder_links') . ' AS l') ->where('l.access IN (' . $groups . ')') - ->where('l.state = 1'); + ->where('l.state = 1') + ->where('l.published = 1'); // Get the null date and the current date, minus seconds. $nullDate = $db->quote($db->getNullDate());