Added comments to report detail page

This commit is contained in:
Latif Khalifa
2013-10-15 02:00:17 +02:00
parent 62d54fdb0a
commit 9029a3c971
4 changed files with 29 additions and 11 deletions

View File

@@ -27,7 +27,7 @@ class CrashStats
$where = $this->filter->getWhere();
$q = "select count(r.id) as nr, s.id as signature_id, s.signature as signature_text, s.has_comments from reports r join signature s on r.signature_id = s.id $where group by signature_id order by nr desc";
$q .= kl_str_sql(" limit !i", 100);
if (false !== $cached = Memc::getq($q)) return $cached;
// if (false !== $cached = Memc::getq($q)) return $cached;
if (!$res = DBH::$db->query($q))
{
@@ -41,7 +41,7 @@ class CrashStats
$ret[] = $r;
}
Memc::setq($q, $ret);
// Memc::setq($q, $ret);
return $ret;
}