X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fhttp_command.c;h=7676eef81e39c67a7285025b1d99717f7c02be70;hb=50aa60919772aeee3ac23a4a5e67a3d6e09a4770;hp=aa73f9149e70e89ed56216a58b713798e838077d;hpb=1a8d4a76a67febe45d72f7911e9e706b40f0f4cf;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index aa73f91..7676eef 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -1188,8 +1188,9 @@ 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->name, sp->increasing, sp->type == Metadata_sortkey_position); + /* TODO This was too simple. Will make pazpar2 continuing reseting the session resultset and redo the search. Disable this for now + sp->type == Metadata_sortkey_position */ status = session_active_clients(s->psession);