mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 17:44:27 +02:00
Add support for sorting by Age in the repolist
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
7b5cee65fd
commit
d71c0c725d
3 changed files with 39 additions and 3 deletions
2
cgit.c
2
cgit.c
|
@ -154,6 +154,8 @@ static void querystring_cb(const char *name, const char *value)
|
|||
ctx.qry.name = xstrdup(value);
|
||||
} else if (!strcmp(name, "mimetype")) {
|
||||
ctx.qry.mimetype = xstrdup(value);
|
||||
} else if (!strcmp(name, "s")){
|
||||
ctx.qry.sort = xstrdup(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue