X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;ds=sidebyside;f=src%2Fhttp_command.c;h=503f0820bb053a82257d3f951df54c0394b1c228;hb=6c1c46b74d3c184cec3254f07a1f11344d63337e;hp=7c23404aac6f1ab81f1d4c2fa48ac3aae583b44e;hpb=09bfaedb7ffb6f6526fb104d8258c4636500079b;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index 7c23404..503f082 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -809,6 +809,15 @@ static void bytarget_response(struct http_channel *c, struct http_session *s, wrbuf_puts(c->wrbuf, ht[i].suggestions_xml); wrbuf_puts(c->wrbuf, ""); } + if (ht[i].query_data) + { + wrbuf_puts(c->wrbuf, ""); + wrbuf_xmlputs(c->wrbuf, ht[i].query_type); + wrbuf_puts(c->wrbuf, "\n"); + wrbuf_puts(c->wrbuf, ""); + wrbuf_xmlputs(c->wrbuf, ht[i].query_data); + wrbuf_puts(c->wrbuf, "\n"); + } wrbuf_puts(c->wrbuf, ""); } response_close(c, "bytarget");