X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fhttp_command.c;h=b46ba7b18a961de684975997754194497f48cbff;hb=3ae3cb006afc68eefad30f1a3f0674e58a74fe5f;hp=4258b29a2999b3c8a01e370244637cebeefc339d;hpb=58aba67e02b51934a2cae721269fb381d8b0b08b;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index 4258b29..b46ba7b 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -597,12 +597,12 @@ static void cmd_termlist(struct http_channel *c) for (i = 0; i < len && i < num; i++) { // prevnt sending empty term elements - if (!p[i]->term || !p[i]->term[0]) + if (!p[i]->display_term || !p[i]->display_term[0]) continue; wrbuf_puts(c->wrbuf, ""); wrbuf_puts(c->wrbuf, ""); - wrbuf_xmlputs(c->wrbuf, p[i]->term); + wrbuf_xmlputs(c->wrbuf, p[i]->display_term); wrbuf_puts(c->wrbuf, ""); wrbuf_printf(c->wrbuf,