From: Sebastian Hammer Date: Fri, 26 Jan 2007 19:30:51 +0000 (+0000) Subject: Correctly set recsyn in search X-Git-Tag: stable.27032007~43 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=4eeb5ae17702904ec2b5f5628f612526e32f1c58;p=pazpar2-moved-to-github.git Correctly set recsyn in search --- 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;