Using reclist_sortparm structure to pass sort parameters
authorDennis Schafroth <dennis@indexdata.com>
Wed, 3 Oct 2012 14:26:22 +0000 (16:26 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 3 Oct 2012 14:26:22 +0000 (16:26 +0200)
src/http_command.c

index c752b53..8887e91 100644 (file)
@@ -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);