mirror of
https://git.zx2c4.com/cgit
synced 2025-07-22 03:44:22 +02:00
ui-repolist: Case insensitive sorting and age sort
Add two options, one for doing the ordinary name sorts in a case-insensitive manner, and another for choosing to sort repos in each section by age instead of by name.
This commit is contained in:
parent
fc9181ff3d
commit
184c5655b2
4 changed files with 37 additions and 5 deletions
2
cgit.h
2
cgit.h
|
@ -187,6 +187,7 @@ struct cgit_config {
|
|||
char *root_readme;
|
||||
char *script_name;
|
||||
char *section;
|
||||
char *section_sort;
|
||||
char *virtual_root;
|
||||
char *strict_export;
|
||||
int cache_size;
|
||||
|
@ -196,6 +197,7 @@ struct cgit_config {
|
|||
int cache_root_ttl;
|
||||
int cache_scanrc_ttl;
|
||||
int cache_static_ttl;
|
||||
int case_sensitive_sort;
|
||||
int embedded;
|
||||
int enable_filter_overrides;
|
||||
int enable_gitweb_owner;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue