Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | fixed condition which caused the "Yearly total" row to not be rendered on the oldest year in the bymonth report in some cases. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
ec3dd27f97571cd66a2ac129fce0d0a7 |
User & Date: | stephan 2016-01-21 12:44:09.245 |
Context
2016-01-26
| ||
13:18 | Fix a comment with wrong parameters description ... (check-in: 12cf825f user: baruch tags: trunk) | |
10:22 | Alternative TIP #440 implementation, based on TIP #59 ... (check-in: 2ba6587c user: jan.nijtmans tags: tip-440-alt) | |
01:36 | Create new branch named "rberteig-json-test" ... (check-in: 50891558 user: Ross tags: rberteig-json-test) | |
2016-01-24
| ||
14:43 | Add option to show real branch colors in branch list ... (check-in: 26fc65f9 user: baruch tags: pending-review) | |
2016-01-21
| ||
12:44 | fixed condition which caused the "Yearly total" row to not be rendered on the oldest year in the bymonth report in some cases. ... (check-in: ec3dd27f user: stephan tags: trunk) | |
2016-01-20
| ||
18:31 | Use a VIEW rather than a TABLE for collecting the data for some piecharts. ... (check-in: 2bd670ac user: drh tags: trunk) | |
Changes
Changes to src/statrep.c.
1 | /* | | | 1 2 3 4 5 6 7 8 9 | /* ** Copyright (c) 2013 Stephan Beal ** ** This program is free software; you can redistribute it and/or ** modify it under the terms of the Simplified BSD License (also ** known as the "2-Clause License" or "FreeBSD License".) ** This program is distributed in the hope that it will be useful, ** but without any warranty; without even the implied warranty of |
︙ | ︙ | |||
239 240 241 242 243 244 245 246 247 248 249 250 251 252 | showYearTotal = *zPrevYear; if(showYearTotal){ rowClass = ++nRowNumber % 2; @ <tr class='row%d(rowClass)'> @ <td></td> @ <td colspan='2'>Yearly total: %d(nEventsPerYear)</td> @</tr> } nEventsPerYear = 0; memcpy(zPrevYear,zTimeframe,4); rowClass = ++nRowNumber % 2; @ <tr class='row%d(rowClass)'> @ <th colspan='3' class='statistics-report-row-year'>%s(zPrevYear)</th> @ </tr> | > | 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 | showYearTotal = *zPrevYear; if(showYearTotal){ rowClass = ++nRowNumber % 2; @ <tr class='row%d(rowClass)'> @ <td></td> @ <td colspan='2'>Yearly total: %d(nEventsPerYear)</td> @</tr> showYearTotal = 0; } nEventsPerYear = 0; memcpy(zPrevYear,zTimeframe,4); rowClass = ++nRowNumber % 2; @ <tr class='row%d(rowClass)'> @ <th colspan='3' class='statistics-report-row-year'>%s(zPrevYear)</th> @ </tr> |
︙ | ︙ |