Display no return to index when searched from other location

This commit is contained in:
Ilia Rostovtsev
2022-01-27 15:11:02 +03:00
parent 525a835d23
commit 23f853384d
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ if ($in{'csv'}) {
&PrintHeader(undef, "text/csv");
}
else {
&ui_print_header(undef, &html_escape($in{'search_title'} || $text{'search_title'}), "");
&ui_print_header(undef, &html_escape($in{'search_title'} || $text{'search_title'}), "", undef, undef, $in{'no_return'});
}
# Perform initial search in index

View File

@ -14,7 +14,7 @@ my $act = &get_action($in{'id'});
&can_mod($act->{'module'}) || &error($text{'view_ecannot'});
# display info about the action
&ui_print_header(undef, $text{'view_title'}, "");
&ui_print_header(undef, $text{'view_title'}, "", undef, undef, $in{'no_return'});
my @files = &list_files($act);
print &ui_form_start("rollback.cgi");