Do not display termlist id in response
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 6 Jul 2015 08:36:57 +0000 (10:36 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 6 Jul 2015 08:36:57 +0000 (10:36 +0200)
src/session.c

index e8ef2d4..a83acf6 100644 (file)
@@ -1283,12 +1283,6 @@ void perform_termlist(struct http_channel *c, struct session *se,
                         wrbuf_puts(c->wrbuf, "<name>");
                         wrbuf_xmlputs(c->wrbuf, p[i]->display_term);
                         wrbuf_puts(c->wrbuf, "</name>");
-                        if (p[i]->id)
-                        {
-                            wrbuf_puts(c->wrbuf, "<value>");
-                            wrbuf_xmlputs(c->wrbuf, p[i]->id);
-                            wrbuf_puts(c->wrbuf, "</value>");
-                        }
                         wrbuf_printf(c->wrbuf,
                                      "<frequency>%d</frequency>",
                                      p[i]->frequency);