From: Adam Dickmeiss Date: Mon, 22 Aug 2011 12:19:24 +0000 (+0200) Subject: zoom: Set option schema in SRU mode X-Git-Tag: v1.3.7~1 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=0bb2aa8fa192b9bb0b8a3c96b20180d24e275f62;p=metaproxy-moved-to-github.git zoom: Set option schema in SRU mode --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index ff73e19..ca1c47f 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -1008,7 +1008,8 @@ void yf::Zoom::Frontend::prepare_elements(BackendPtr b, } b->set_option("elementSetName", element_set_name); - + if (b->sptr->sru.length() && element_set_name) + b->set_option("schema", element_set_name); } Z_Records *yf::Zoom::Frontend::get_records(Odr_int start,