--- a/src/query/reslistpager.cpp
+++ b/src/query/reslistpager.cpp
@@ -253,6 +253,15 @@
snipsbuf << "<a href=\"A" << docnumforlinks << "\">"
<< trans("Snippets") << "</a> ";
linksbuf << " " << snipsbuf.str();
+ }
+
+ string collapscnt;
+ if (doc.getmeta(Rcl::Doc::keycc, &collapscnt) && !collapscnt.empty()) {
+ ostringstream collpsbuf;
+ int clc = atoi(collapscnt.c_str()) + 1;
+ collpsbuf << "<a href=\"D" << docnumforlinks << "\">"
+ << trans("Dups") << "(" << clc << ")" << "</a> ";
+ linksbuf << " " << collpsbuf.str();
}
// Build the result list paragraph: