tag count for refine search is misleading

git-svn-id: file:///home/shish/svn/shimmie2/trunk@50 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-05-01 13:33:41 +00:00
parent ff0fcee777
commit f6fdc13101

View file

@ -180,13 +180,13 @@ class TagList extends Extension {
if($n++) $html .= "<br/>";
$link = $this->tag_link($row['tag']);
$html .= "<a href='$link'>$h_tag_no_underscores</a>\n";
if($show_count) {
$html .= " ($count)";
}
if(!is_null($callback)) {
$html .= $this->$callback($tag, $cbdata);
}
else {
if($show_count) {
$html .= " ($count)";
}
if(!is_null($config->get_string('info_link'))) {
$link = str_replace('$tag', $tag, $config->get_string('info_link'));
$html .= " <a href='$link'>?</a>\n";