ui-repolist: use ctx.qry.url instead of rooturl, in case we're filtering

This commit is contained in:
Jason A. Donenfeld
2015-03-03 17:06:48 +01:00
parent e14eee9ea5
commit c3473e8a5d
2 changed files with 3 additions and 3 deletions

View File

@ -952,7 +952,7 @@ void cgit_print_pageheader(void)
NULL, NULL, 0);
html("</td><td class='form'>");
html("<form method='get' action='");
html_attr(cgit_rooturl());
html_attr(ctx.qry.url);
html("'>\n");
html("<input type='text' name='q' size='10' value='");
html_attr(ctx.qry.search);