diff --git a/report/log/index.php b/report/log/index.php
index <HASH>..<HASH> 100644
--- a/report/log/index.php
+++ b/report/log/index.php
@@ -90,7 +90,9 @@ if ($logreader !== '') {
 if (($edulevel != -1)) {
     $params['edulevel'] = $edulevel;
 }
-
+if ($origin !== '') {
+    $params['origin'] = $origin;
+}
 // Legacy store hack, as edulevel is not supported.
 if ($logreader == 'logstore_legacy') {
     $params['edulevel'] = -1;
MDL-<I> reports: origin parameter looked at in log reports