From 4e2380df63a35768405dc9e72e1cce202eef004d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 21 Jun 2011 13:27:08 +0200 Subject: [PATCH] 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. --- src/filter_zoom.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 { -- 1.7.10.4