summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 45a3b12)
raw | patch | inline | side by side (parent: 45a3b12)
author | Petr Baudis <pasky@suse.cz> | |
Wed, 11 Oct 2006 20:31:15 +0000 (22:31 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 11 Oct 2006 21:42:22 +0000 (14:42 -0700) |
Currently that was broken. Ideal fix would make the search form use
PATH_INFO too, but it's just one insignificant place so it's no big deal if
we don't for now... This at least makes it work.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
PATH_INFO too, but it's just one insignificant place so it's no big deal if
we don't for now... This at least makes it work.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | patch | blob | history |
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 1d5217e334ee7da3ec8ef82eeda5a0ffcde40e9e..0a7acfd4936c39d4b09a24412c800be4ca073bb1 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
my %params = @_;
my $href = $my_uri;
+ # XXX: Warning: If you touch this, check the search form for updating,
+ # too.
+
my @mapping = (
project => "p",
action => "a",
}
$cgi->param("a", "search");
$cgi->param("h", $search_hash);
+ $cgi->param("p", $project);
print $cgi->startform(-method => "get", -action => $my_uri) .
"<div class=\"search\">\n" .
$cgi->hidden(-name => "p") . "\n" .