diff options
author | Lars Hjemli <hjemli@gmail.com> | 2008-12-06 11:35:49 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-12-06 11:35:49 +0100 |
commit | 9c8be943f72b6f1bda5a31ce401899c3dd734e98 (patch) | |
tree | 2279ad0a7d36563df7698d6d4e81967d67eb2562 /cgit.c | |
parent | Merge branch 'snapshot-fixes' (diff) | |
parent | ui-repolist: implement lazy caching of repo->mtime (diff) | |
download | cgit-pink-9c8be943f72b6f1bda5a31ce401899c3dd734e98.tar.gz cgit-pink-9c8be943f72b6f1bda5a31ce401899c3dd734e98.zip |
Merge branch 'lh/sort-repolist'
Diffstat (limited to '')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c index c82587b..e09c86e 100644 --- a/cgit.c +++ b/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); } } |