Fix repolist search links with virtual root Signed-off-by: Geoff Johnstone <geoff.johnstone@googlemail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Geoff Johnstone qwerty@acm.org
Sun, 20 Sep 2009 11:32:07 +0100
2 files changed,
2 insertions(+),
1 deletions(-)
M
ui-repolist.c
→
ui-repolist.c
@@ -94,7 +94,7 @@ }
void print_sort_header(const char *title, const char *sort) { - htmlf("<th class='left'><a href='./?s=%s", sort); + htmlf("<th class='left'><a href='%s?s=%s", cgit_rooturl(), sort); if (ctx.qry.search) { html("&q="); html_url_arg(ctx.qry.search);