Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81ed463
)
global search MDL-24625 added page system context
author
Aparup Banerjee
<nebgor@gmail.com>
Tue, 12 Oct 2010 08:59:44 +0000
(08:59 +0000)
committer
Aparup Banerjee
<nebgor@gmail.com>
Tue, 12 Oct 2010 08:59:44 +0000
(08:59 +0000)
search/query.php
patch
|
blob
|
blame
|
history
diff --git
a/search/query.php
b/search/query.php
index
660f906
..
3480cfc
100644
(file)
--- a/
search/query.php
+++ b/
search/query.php
@@
-165,7
+165,7
@@
// print the header
$site = get_site();
-
+ $PAGE->set_context(get_context_instance(CONTEXT_SYSTEM));
$PAGE->navbar->add($strsearch, new moodle_url('/search/index.php'));
$PAGE->navbar->add($strquery, new moodle_url('/search/stats.php'));
$PAGE->set_title($strsearch);