-rw-r--r-- | ui-shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c index f46c935..ae29615 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -835,16 +835,17 @@ void cgit_print_pageheader(struct cgit_context *ctx) | |||
835 | html_url_path(cgit_fileurl(ctx->qry.repo, "log", | 835 | html_url_path(cgit_fileurl(ctx->qry.repo, "log", |
836 | ctx->qry.vpath, NULL)); | 836 | ctx->qry.vpath, NULL)); |
837 | html("'>\n"); | 837 | html("'>\n"); |
838 | cgit_add_hidden_formfields(1, 0, "log"); | 838 | cgit_add_hidden_formfields(1, 0, "log"); |
839 | html("<select name='qt'>\n"); | 839 | html("<select name='qt'>\n"); |
840 | html_option("grep", "log msg", ctx->qry.grep); | 840 | html_option("grep", "log msg", ctx->qry.grep); |
841 | html_option("author", "author", ctx->qry.grep); | 841 | html_option("author", "author", ctx->qry.grep); |
842 | html_option("committer", "committer", ctx->qry.grep); | 842 | html_option("committer", "committer", ctx->qry.grep); |
843 | html_option("range", "range", ctx->qry.grep); | ||
843 | html("</select>\n"); | 844 | html("</select>\n"); |
844 | html("<input class='txt' type='text' size='10' name='q' value='"); | 845 | html("<input class='txt' type='text' size='10' name='q' value='"); |
845 | html_attr(ctx->qry.search); | 846 | html_attr(ctx->qry.search); |
846 | html("'/>\n"); | 847 | html("'/>\n"); |
847 | html("<input type='submit' value='search'/>\n"); | 848 | html("<input type='submit' value='search'/>\n"); |
848 | html("</form>\n"); | 849 | html("</form>\n"); |
849 | } else { | 850 | } else { |
850 | site_link(NULL, "index", NULL, hc(ctx, "repolist"), NULL, 0); | 851 | site_link(NULL, "index", NULL, hc(ctx, "repolist"), NULL, 0); |