mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
mod-forum-search MDL-25239 Fixed double encoding of the search param during pagination
This commit is contained in:
parent
9d1b6ea35c
commit
1d67258eb9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user