Switch to unified view
a/src/query/docseqhist.cpp | b/src/query/docseqhist.cpp | ||
---|---|---|---|
... |
... |
||
142 | bool ret = m_db->getDoc(m_it->udi, idxdoc, doc); |
142 | bool ret = m_db->getDoc(m_it->udi, idxdoc, doc); |
143 | if (!ret || doc.pc == -1) { |
143 | if (!ret || doc.pc == -1) { |
144 | doc.url = "UNKNOWN"; |
144 | doc.url = "UNKNOWN"; |
145 | doc.ipath = ""; |
145 | doc.ipath = ""; |
146 | } |
146 | } |
147 | |||
148 | // Ensure the snippets link won't be shown as it does not make |
||
149 | // sense (no query terms...) |
||
150 | doc.haspages = 0; |
||
151 | |||
147 | return ret; |
152 | return ret; |
148 | } |
153 | } |
149 | 154 | ||
150 | Rcl::Db *DocSequenceHistory::getDb() |
155 | Rcl::Db *DocSequenceHistory::getDb() |
151 | { |
156 | { |