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:
990c610
)
session_shared: relay preferredRecordSyntax for search
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 15 Aug 2011 13:49:22 +0000
(15:49 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 15 Aug 2011 13:49:22 +0000
(15:49 +0200)
src/filter_session_shared.cpp
patch
|
blob
|
history
diff --git
a/src/filter_session_shared.cpp
b/src/filter_session_shared.cpp
index
c243dea
..
98d4497
100644
(file)
--- a/
src/filter_session_shared.cpp
+++ b/
src/filter_session_shared.cpp
@@
-528,6
+528,10
@@
bool yf::SessionShared::BackendSet::search(
for (; it != m_databases.end(); it++)
req->databaseNames[i++] = odr_strdup(odr, it->c_str());
+ if (frontend_apdu->which == Z_APDU_searchRequest)
+ req->preferredRecordSyntax =
+ frontend_apdu->u.searchRequest->preferredRecordSyntax;
+
search_package.request() = apdu_req;
search_package.move();