Fossil SCM
In the Checkins By File report, use filenames as the secondary sort key.
Commit
840343d4be1774bb37a0e0e6aab38ef82b32019c
Parent
811d10ac7ad84e6…
1 file changed
+1
-1
+1
-1
| --- src/statrep.c | ||
| +++ src/statrep.c | ||
| @@ -471,11 +471,11 @@ | ||
| 471 | 471 | " FROM filename, mlink" |
| 472 | 472 | " WHERE filename.fnid=mlink.fnid" |
| 473 | 473 | " GROUP BY 1" |
| 474 | 474 | ); |
| 475 | 475 | db_prepare(&query, |
| 476 | - "SELECT filename, cnt FROM statrep ORDER BY cnt DESC /*sort*/" | |
| 476 | + "SELECT filename, cnt FROM statrep ORDER BY cnt DESC, filename /*sort*/" | |
| 477 | 477 | ); |
| 478 | 478 | mxEvent = db_int(1, "SELECT max(cnt) FROM statrep"); |
| 479 | 479 | @ <h1>Checkins Per File</h1> |
| 480 | 480 | @ <table class='statistics-report-table-events' border='0' |
| 481 | 481 | @ cellpadding='2' cellspacing='0' id='statsTable'> |
| 482 | 482 |
| --- src/statrep.c | |
| +++ src/statrep.c | |
| @@ -471,11 +471,11 @@ | |
| 471 | " FROM filename, mlink" |
| 472 | " WHERE filename.fnid=mlink.fnid" |
| 473 | " GROUP BY 1" |
| 474 | ); |
| 475 | db_prepare(&query, |
| 476 | "SELECT filename, cnt FROM statrep ORDER BY cnt DESC /*sort*/" |
| 477 | ); |
| 478 | mxEvent = db_int(1, "SELECT max(cnt) FROM statrep"); |
| 479 | @ <h1>Checkins Per File</h1> |
| 480 | @ <table class='statistics-report-table-events' border='0' |
| 481 | @ cellpadding='2' cellspacing='0' id='statsTable'> |
| 482 |
| --- src/statrep.c | |
| +++ src/statrep.c | |
| @@ -471,11 +471,11 @@ | |
| 471 | " FROM filename, mlink" |
| 472 | " WHERE filename.fnid=mlink.fnid" |
| 473 | " GROUP BY 1" |
| 474 | ); |
| 475 | db_prepare(&query, |
| 476 | "SELECT filename, cnt FROM statrep ORDER BY cnt DESC, filename /*sort*/" |
| 477 | ); |
| 478 | mxEvent = db_int(1, "SELECT max(cnt) FROM statrep"); |
| 479 | @ <h1>Checkins Per File</h1> |
| 480 | @ <table class='statistics-report-table-events' border='0' |
| 481 | @ cellpadding='2' cellspacing='0' id='statsTable'> |
| 482 |