Diff
Not logged in

Differences From:

File src/stat.c part of check-in [dab84c22ee] - corrected 'Duration of Project' to round up, so a 2-day-old project doesn't show up as 1 day old by stephan on 2008-09-27 18:52:37. [view]

To:

File src/stat.c part of check-in [1e82c4aa85] - Fix the "number of tickets" counter on the "stats" webpage. by drh on 2008-10-26 02:35:04. [view]

@@ -80,9 +80,9 @@
   n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'wiki-*'");
   @ %d(n)
   @ </td></tr>
   @ <tr><th>Number&nbsp;Of&nbsp;Tickets:</th><td>
-  n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'ticket-*'");
+  n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'tkt-*'");
   @ %d(n)
   @ </td></tr>
   @ <tr><th>Duration&nbsp;Of&nbsp;Project:</th><td>
   n = db_int(0, "SELECT julianday('now') - (SELECT min(mtime) FROM event) + 0.99");