X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/fdfb6a6d802d6b91061296eda9848d5819760d01..7ea35f9f8ecf61ab42be9947aae1176ab6e089bd:/ui-repolist.c diff --git a/ui-repolist.c b/ui-repolist.c index c774632..dead1bf 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -104,7 +104,7 @@ void print_sort_header(const char *title, const char *sort) { htmlf("%s", title); @@ -257,7 +257,7 @@ void cgit_print_repolist() if(ctx.qry.sort) sorted = sort_repolist(ctx.qry.sort); - else + else if (ctx.cfg.section_sort) sort_repolist("section"); html("");