From 4eeb5ae17702904ec2b5f5628f612526e32f1c58 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Fri, 26 Jan 2007 19:30:51 +0000 Subject: [PATCH] Correctly set recsyn in search --- src/pazpar2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pazpar2.c b/src/pazpar2.c index 4b99bb2..36b6b65 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -1,4 +1,4 @@ -/* $Id: pazpar2.c,v 1.45 2007-01-19 21:16:11 adam Exp $ */ +/* $Id: pazpar2.c,v 1.46 2007-01-26 19:30:51 quinn Exp $ */ #include #include @@ -176,7 +176,7 @@ static void send_search(IOCHAN i) for (ndb = 0; db->databases[ndb]; ndb++) databaselist[ndb] = db->databases[ndb]; - a->u.presentRequest->preferredRecordSyntax = + a->u.searchRequest->preferredRecordSyntax = yaz_oidval_to_z3950oid(global_parameters.odr_out, CLASS_RECSYN, VAL_USMARC); a->u.searchRequest->smallSetUpperBound = &ssub; -- 1.7.10.4