From: Dennis Schafroth Date: Wed, 10 Oct 2012 08:59:54 +0000 (+0200) Subject: Return 1 on research. 0 on no research X-Git-Tag: v1.6.22~12^2 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=b3adf9aaa551ef92c83b6ea5951882164c277b24;p=pazpar2-moved-to-github.git Return 1 on research. 0 on no research --- diff --git a/src/client.c b/src/client.c index fd1ebc9..618dfcf 100644 --- a/src/client.c +++ b/src/client.c @@ -1414,7 +1414,7 @@ int client_parse_sort(struct client *cl, struct reclist_sortparms *sp) } } - return cl->same_search; + return !cl->same_search; } void client_set_session(struct client *cl, struct session *se)