--- a/course/search.php +++ b/course/search.php @@ -193,6 +193,11 @@ $modulelink = "&modulelist=".$modulelist."&sesskey=".$USER->sesskey; } + ///add the block parameter to the paging bar if they exists + if (!empty($blocklist) and confirm_sesskey()) { + $modulelink = "&blocklist=".$blocklist."&sesskey=".$USER->sesskey; + } + print_navigation_bar($totalcount, $page, $perpage, $encodedsearch, $modulelink); if (!$adminediting) {