X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/5632ba35d133ee29d46c031cdd4b4a37097b8ca1..f250c1ca2ea7f35d65f639e42e8b8f0657515e5d:/cgit.c 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); } }