X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/8011587ef34d98398b60be8fcd6c6ecf499c0676..c4b45de33458f66f5a768530d738f6c28e56cf49:/cgit.c diff --git a/cgit.c b/cgit.c index c82587b..166fbc6 100644 --- a/cgit.c +++ b/cgit.c @@ -154,6 +154,10 @@ 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); } }