projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fa1fd3
)
zoom: Set option schema in SRU mode
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 22 Aug 2011 12:19:24 +0000
(14:19 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 22 Aug 2011 12:19:24 +0000
(14:19 +0200)
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
ff73e19
..
ca1c47f
100644
(file)
--- 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,