From 8b5fac33ba89011ccec1d04955d90b8585874164 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Fri, 28 Oct 2011 10:32:42 +0200 Subject: [PATCH] Add setting of suggestions options on resultset --- src/zoom-sru.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zoom-sru.c b/src/zoom-sru.c index 08a18a2..da588f0 100644 --- a/src/zoom-sru.c +++ b/src/zoom-sru.c @@ -306,6 +306,9 @@ static zoom_ret handle_srw_response(ZOOM_connection c, if (res->numberOfRecords) { resultset->size = *res->numberOfRecords; } + if (res->suggestions) { + ZOOM_resultset_option_set(resultset, "suggestions", res->suggestions); + } for (i = 0; inum_records; i++) { int pos; -- 1.7.10.4