Fossil SCM
Fix the "number of tickets" counter on the "stats" webpage.
Commit
1e82c4aa850e1b39add61dd40e99d2383404e153
Parent
e44d7a4b5af0b66…
1 file changed
+1
-1
+1
-1
| --- src/stat.c | ||
| +++ src/stat.c | ||
| @@ -79,11 +79,11 @@ | ||
| 79 | 79 | @ <tr><th>Number Of Wiki Pages:</th><td> |
| 80 | 80 | n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'wiki-*'"); |
| 81 | 81 | @ %d(n) |
| 82 | 82 | @ </td></tr> |
| 83 | 83 | @ <tr><th>Number Of Tickets:</th><td> |
| 84 | - n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'ticket-*'"); | |
| 84 | + n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'tkt-*'"); | |
| 85 | 85 | @ %d(n) |
| 86 | 86 | @ </td></tr> |
| 87 | 87 | @ <tr><th>Duration Of Project:</th><td> |
| 88 | 88 | n = db_int(0, "SELECT julianday('now') - (SELECT min(mtime) FROM event) + 0.99"); |
| 89 | 89 | @ %d(n) days |
| 90 | 90 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -79,11 +79,11 @@ | |
| 79 | @ <tr><th>Number Of Wiki Pages:</th><td> |
| 80 | n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'wiki-*'"); |
| 81 | @ %d(n) |
| 82 | @ </td></tr> |
| 83 | @ <tr><th>Number Of Tickets:</th><td> |
| 84 | n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'ticket-*'"); |
| 85 | @ %d(n) |
| 86 | @ </td></tr> |
| 87 | @ <tr><th>Duration Of Project:</th><td> |
| 88 | n = db_int(0, "SELECT julianday('now') - (SELECT min(mtime) FROM event) + 0.99"); |
| 89 | @ %d(n) days |
| 90 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -79,11 +79,11 @@ | |
| 79 | @ <tr><th>Number Of Wiki Pages:</th><td> |
| 80 | n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'wiki-*'"); |
| 81 | @ %d(n) |
| 82 | @ </td></tr> |
| 83 | @ <tr><th>Number Of Tickets:</th><td> |
| 84 | n = db_int(0, "SELECT count(*) FROM tag WHERE +tagname GLOB 'tkt-*'"); |
| 85 | @ %d(n) |
| 86 | @ </td></tr> |
| 87 | @ <tr><th>Duration Of Project:</th><td> |
| 88 | n = db_int(0, "SELECT julianday('now') - (SELECT min(mtime) FROM event) + 0.99"); |
| 89 | @ %d(n) days |
| 90 |