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:
2e5efc2
)
zoom: handle torus url not given (is optional)
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 10 Oct 2011 14:10:31 +0000
(16:10 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 10 Oct 2011 14:10:31 +0000
(16:10 +0200)
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
1e013eb
..
b735881
100644
(file)
--- a/
src/filter_zoom.cpp
+++ b/
src/filter_zoom.cpp
@@
-658,7
+658,7
@@
yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases(
it = m_p->s_map.find(torus_db);
if (it != m_p->s_map.end())
sptr = it->second;
- else
+ else if (m_p->torus_url.length() > 0)
{
xmlDoc *doc = mp::get_searchable(m_p->torus_url, torus_db, m_p->proxy);
if (!doc)