Skip to content
Snippets Groups Projects
Commit 3dd16693 authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

Resolve "OER-Suche über OERSI"

Closes #2891

Merge request studip/studip!1947
parent 3dbf5956
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ class Oer_MarketController extends StudipController ...@@ -59,7 +59,7 @@ class Oer_MarketController extends StudipController
} }
$this->new_ones = OERMaterial::findBySQL("LEFT JOIN oer_hosts ON (oer_hosts.host_id = oer_material.host_id) $this->new_ones = OERMaterial::findBySQL("LEFT JOIN oer_hosts ON (oer_hosts.host_id = oer_material.host_id)
WHERE draft = '0' WHERE draft = '0'
AND (oer_material.host_id IS NULL OR oer_hosts.`active` = '1') AND oer_material.host_id IS NULL
ORDER BY mkdate DESC LIMIT 9"); ORDER BY mkdate DESC LIMIT 9");
$statement = DBManager::get()->prepare(" $statement = DBManager::get()->prepare("
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment