X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fhttp_command.c;h=503f0820bb053a82257d3f951df54c0394b1c228;hb=4ae1e0582f66acaec33dca2c3b023d47d7f431af;hp=7c23404aac6f1ab81f1d4c2fa48ac3aae583b44e;hpb=7a8e8e37ed254a29f5085855e6d03fe4ff7573e9;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");