X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/ab67164d6217fcda5ef3e07aefa3dd6eee6b65a3..3c32fe07717f27fc891b66ccd06057fb810d03ad:/cgit.c diff --git a/cgit.c b/cgit.c index db5d342..166fbc6 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); } else if (!strcmp(name, "showmsg")) { ctx.qry.showmsg = atoi(value); }