release_session(c, s);
return;
}
- session_sort(s->psession, sp->name, sp->increasing, 0);
+ 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 */