Diffstat (limited to 'ui-repolist.c')
| -rw-r--r-- | ui-repolist.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index f929cb7..49c991f 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -307,19 +307,13 @@ void cgit_print_repolist() html_link_close(); html("</td><td>"); if (ctx.cfg.enable_index_owner) { - if (ctx.repo->owner_filter) { - cgit_open_filter(ctx.repo->owner_filter); - html_txt(ctx.repo->owner); - cgit_close_filter(ctx.repo->owner_filter); - } else { - html("<a href='"); - html_attr(cgit_rooturl()); - html("?="); - html_url_arg(ctx.repo->owner); - html("'>"); - html_txt(ctx.repo->owner); - html("</a>"); - } + html("<a href='"); + html_attr(cgit_rooturl()); + html("?q="); + html_url_arg(ctx.repo->owner); + html("'>"); + html_txt(ctx.repo->owner); + html("</a>"); html("</td><td>"); } print_modtime(ctx.repo); |