dont show snippets link in history links (makes no sense as there are no query terms...)
This commit is contained in:
parent
055a749e5b
commit
dbdfe3122f
1 changed files with 5 additions and 0 deletions
|
@ -144,6 +144,11 @@ bool DocSequenceHistory::getDoc(int num, Rcl::Doc &doc, string *sh)
|
|||
doc.url = "UNKNOWN";
|
||||
doc.ipath = "";
|
||||
}
|
||||
|
||||
// Ensure the snippets link won't be shown as it does not make
|
||||
// sense (no query terms...)
|
||||
doc.haspages = 0;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue