]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
ui-repolist: use ctx.qry.url instead of rooturl, in case we're filtering
[ps-cgit] / ui-shared.c
index 1a84afc6bf39564aa73ef7f58826fe9f67f985f1..21e163cd6b39d17ef35aeaee2316bd3da36f9895 100644 (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);