query: add duplication indicator to relevancy rating

This commit is contained in:
Jean-Francois Dockes
2011-01-17 16:04:07 +01:00
parent 34511918d9
commit 93fb51d59b
5 changed files with 21 additions and 21 deletions
+1 -4
View File
@@ -90,9 +90,6 @@ void ResListPager::displayDoc(int i, Rcl::Doc& doc, const HiliteData& hdata,
} else {
percent = doc.pc;
}
// Percentage of 'relevance'
char perbuf[20];
sprintf(perbuf, "%3d%% ", percent);
// Determine icon to display if any
string iconpath = iconPath(doc.mimetype);
@@ -186,7 +183,7 @@ void ResListPager::displayDoc(int i, Rcl::Doc& doc, const HiliteData& hdata,
subs["L"] = linksbuf.rdbuf()->str();
subs["N"] = numbuf;
subs["M"] = doc.mimetype;
subs["R"] = perbuf;
subs["R"] = doc.meta[Rcl::Doc::keyrr];
subs["S"] = sizebuf;
subs["T"] = escapeHtml(doc.meta[Rcl::Doc::keytt]);
subs["U"] = url;