From: Dennis Schafroth Date: Wed, 3 Oct 2012 14:26:22 +0000 (+0200) Subject: Using reclist_sortparm structure to pass sort parameters X-Git-Tag: v1.6.22~37 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=61a9c0fc574244c16e5a6bd44e796549de0bd559;p=pazpar2-moved-to-github.git Using reclist_sortparm structure to pass sort parameters --- diff --git a/src/http_command.c b/src/http_command.c index c752b53..8887e91 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -1205,7 +1205,7 @@ static void cmd_show(struct http_channel *c) release_session(c, s); return; } - session_sort(s->psession, sp->name, sp->increasing, sp->type == Metadata_sortkey_position); + session_sort(s->psession, sp); status = session_active_clients(s->psession);