From: Adam Dickmeiss Date: Mon, 27 Oct 2008 17:53:53 +0000 (+0100) Subject: Fixed bug #2021.. location now holds all brief elements. X-Git-Tag: v1.1.0~80^2~1 X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;h=95adc89f52fe978a9613c7e08f02f2be66396d68;p=pazpar2-moved-to-github.git Fixed bug #2021.. location now holds all brief elements. --- diff --git a/src/http_command.c b/src/http_command.c index 0cc172b..29200d4 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -485,8 +485,7 @@ static void write_subrecord(struct record *r, WRBUF w, wrbuf_xmlputs(w, *name ? name : "Unknown"); wrbuf_puts(w, "\">"); - if (show_details) - write_metadata(w, service, r->metadata, 1); + write_metadata(w, service, r->metadata, show_details); wrbuf_puts(w, "\n"); }