summaryrefslogtreecommitdiff
path: root/cgit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c2
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);
}
}
-15 15:59:55 +0200'>2014-04-15All globals are upper-case.Jason A. Donenfeld3-51/+51 2014-04-15Reorganize entire programJason A. Donenfeld3-339/+365 2014-04-15find: match without regards to caseJason A. Donenfeld2-25/+146 2014-04-15Multiline comment support for keepassx importerLukas Zapletal1-5/+9 2014-04-15find: add find/search commandJason A. Donenfeld6-2/+212 2014-04-15Install bash-completion file to the right place.Jason A. Donenfeld1-1/+1