diff options
Diffstat (limited to 'ui-repolist.c')
-rw-r--r-- | ui-repolist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 36c067a..dead1bf 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -257,7 +257,7 @@ void cgit_print_repolist() | |||
257 | 257 | ||
258 | if(ctx.qry.sort) | 258 | if(ctx.qry.sort) |
259 | sorted = sort_repolist(ctx.qry.sort); | 259 | sorted = sort_repolist(ctx.qry.sort); |
260 | else | 260 | else if (ctx.cfg.section_sort) |
261 | sort_repolist("section"); | 261 | sort_repolist("section"); |
262 | 262 | ||
263 | html("<table summary='repository list' class='list nowrap'>"); | 263 | html("<table summary='repository list' class='list nowrap'>"); |