Commit 47a13ec6 authored by Martyn Smith's avatar Martyn Smith
Browse files

Fixed search config bug and selfsearch results page

parent 13304b56
...@@ -41,7 +41,7 @@ if ($plugintype == 'artefact') { ...@@ -41,7 +41,7 @@ if ($plugintype == 'artefact') {
$classname = generate_artefact_class_name($type); $classname = generate_artefact_class_name($type);
} }
else { else {
$type = null; $type = '';
$classname = generate_class_name($plugintype, $pluginname); $classname = generate_class_name($plugintype, $pluginname);
} }
......
...@@ -36,7 +36,7 @@ $enc_noresults = json_encode(get_string('noresultsfound')); ...@@ -36,7 +36,7 @@ $enc_noresults = json_encode(get_string('noresultsfound'));
$javascript = <<<EOF $javascript = <<<EOF
var results = new TableRenderer( var results = new TableRenderer(
'selfsearchresults', 'searchresults',
$enc_jsonscript, $enc_jsonscript,
[] []
); );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment