commit | d71c0c725d7b5ddfc5b788d328a5fc7a27739662 | [log] [tgz] |
---|---|---|
author | Benjamin Close <Benjamin.Close@clearchain.com> | Tue Nov 25 06:25:35 2008 -0800 |
committer | Lars Hjemli <hjemli@gmail.com> | Sat Nov 29 13:25:54 2008 +0100 |
tree | c7b0e71793470987c05a278dc5ed011a4903f524 | |
parent | 7b5cee65fd9cf31e4f19ce4ff613778cb95512a9 [diff] [blame] |
Add support for sorting by Age in the repolist Signed-off-by: Lars Hjemli <hjemli@gmail.com>
diff --git a/cgit.c b/cgit.c index c82587b..e09c86e 100644 --- a/cgit.c +++ b/cgit.c
@@ -154,6 +154,8 @@ 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); } }