]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
Bump version.
[ps-cgit] / ui-repolist.c
index 92e80cf7adbb9b754e4f8a635ee928d94a958898..c2bcce177c23da9dabf9f5becbec3c71a0abc3c0 100644 (file)
@@ -99,7 +99,7 @@ static int is_in_url(struct cgit_repo *repo)
 {
        if (!ctx.qry.url)
                return 1;
-       if (repo->url && !prefixcmp(repo->url, ctx.qry.url))
+       if (repo->url && starts_with(repo->url, ctx.qry.url))
                return 1;
        return 0;
 }
@@ -306,7 +306,13 @@ void cgit_print_repolist()
                html_link_close();
                html("</td><td>");
                if (ctx.cfg.enable_index_owner) {
+                       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);