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:
9d1b6ea
)
mod-forum-search MDL-25239 Fixed double encoding of the search param during pagination
author
Sam Hemelryk
<sam@moodle.com>
Tue, 16 Nov 2010 09:00:47 +0000
(09:00 +0000)
committer
Sam Hemelryk
<sam@moodle.com>
Tue, 16 Nov 2010 09:00:47 +0000
(09:00 +0000)
mod/forum/search.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/forum/search.php
b/mod/forum/search.php
index
d843779
..
96af836
100644
(file)
--- a/
mod/forum/search.php
+++ b/
mod/forum/search.php
@@
-180,7
+180,7
@@
echo '</div>';
echo $OUTPUT->heading("$strsearchresults: $totalcount");
-$url = new moodle_url('search.php', array('search' =>
urlencode($search)
, 'id' => $course->id, 'perpage' => $perpage));
+$url = new moodle_url('search.php', array('search' =>
$search
, 'id' => $course->id, 'perpage' => $perpage));
echo $OUTPUT->paging_bar($totalcount, $page, $perpage, $url);
//added to implement highlighting of search terms found only in HTML markup