From: Dennis Schafroth Date: Fri, 28 Oct 2011 08:32:42 +0000 (+0200) Subject: Add setting of suggestions options on resultset X-Git-Tag: v4.2.18~8 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=8b5fac33ba89011ccec1d04955d90b8585874164;p=yaz-moved-to-github.git Add setting of suggestions options on resultset --- 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;