dont show snippets link in history links (makes no sense as there are no query terms...)
This commit is contained in:
parent
72ac0f47e1
commit
a13c582dce
@ -144,6 +144,11 @@ bool DocSequenceHistory::getDoc(int num, Rcl::Doc &doc, string *sh)
|
|||||||
doc.url = "UNKNOWN";
|
doc.url = "UNKNOWN";
|
||||||
doc.ipath = "";
|
doc.ipath = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensure the snippets link won't be shown as it does not make
|
||||||
|
// sense (no query terms...)
|
||||||
|
doc.haspages = 0;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user