dont show snippets link in history links (makes no sense as there are no query terms...)

This commit is contained in:
Jean-Francois Dockes 2013-06-07 08:29:19 +02:00
parent 055a749e5b
commit dbdfe3122f

View file

@ -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;
}