From: Adam Dickmeiss Date: Tue, 21 Jun 2011 11:27:08 +0000 (+0200) Subject: Do not require requestsyntax to be set for pp2 transforms X-Git-Tag: v1.2.7~9 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=4e2380df63a35768405dc9e72e1cce202eef004d;p=metaproxy-moved-to-github.git Do not require requestsyntax to be set for pp2 transforms Some searchables do not have requestsyntax set at least those where that does not make sense, eg SOLR. --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 74beb50..f7de862 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -650,10 +650,8 @@ Z_Records *yf::Zoom::Frontend::get_records(Odr_int start, !strcmp(element_set_name, "pz2")) { if (b->sptr->request_syntax.length()) - { syntax_name = b->sptr->request_syntax.c_str(); - enable_pz2_transform = true; - } + enable_pz2_transform = true; } else {