fix for MDL-5736, retained search string problem

This commit is contained in:
toyomoyo
2007-02-23 03:54:49 +00:00
parent 8f83745255
commit 4987fdbaef
3 changed files with 23 additions and 2 deletions
+2 -1
View File
@@ -407,6 +407,7 @@
data_print_template('singletemplate', $records, $data, $search, $page);
} else if ($search){
notify(get_string('nomatch','data'));
data_print_show_all_form($data, $perpage, $sort, $order, $mode);
} else {
notify(get_string('norecords','data'));
}
@@ -446,7 +447,7 @@
}
if ($records || $search || $page) {
data_print_preference_form($data, $perpage, $search, $sort, $order);
data_print_preference_form($data, $perpage, $search, $sort, $order, $mode);
}
/// If we have blocks, then print the left side here