Fossil SCM
Fix a sorting bug on the /artifact_stats page.
Commit
04bcc6ce6e7fa34bb882a3a5e470c1152c79bcbfa6510f76047021a7fd276544
Parent
d96bee1c7627678…
1 file changed
+1
-1
+1
-1
| --- src/stat.c | ||
| +++ src/stat.c | ||
| @@ -648,11 +648,11 @@ | ||
| 648 | 648 | "SELECT atype, count(*), sum(isDelta), sum(szCmpr), sum(szExp)" |
| 649 | 649 | " FROM artstat GROUP BY 1" |
| 650 | 650 | " UNION ALL " |
| 651 | 651 | "SELECT 'ALL', count(*), sum(isDelta), sum(szCmpr), sum(szExp)" |
| 652 | 652 | " FROM artstat" |
| 653 | - " ORDER BY 5;" | |
| 653 | + " ORDER BY 4;" | |
| 654 | 654 | ); |
| 655 | 655 | @ <table class='sortable' border='1' \ |
| 656 | 656 | @ data-column-types='tkkkkk' data-init-sort='5'> |
| 657 | 657 | @ <thead><tr> |
| 658 | 658 | @ <th>Artifact Type</th> |
| 659 | 659 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -648,11 +648,11 @@ | |
| 648 | "SELECT atype, count(*), sum(isDelta), sum(szCmpr), sum(szExp)" |
| 649 | " FROM artstat GROUP BY 1" |
| 650 | " UNION ALL " |
| 651 | "SELECT 'ALL', count(*), sum(isDelta), sum(szCmpr), sum(szExp)" |
| 652 | " FROM artstat" |
| 653 | " ORDER BY 5;" |
| 654 | ); |
| 655 | @ <table class='sortable' border='1' \ |
| 656 | @ data-column-types='tkkkkk' data-init-sort='5'> |
| 657 | @ <thead><tr> |
| 658 | @ <th>Artifact Type</th> |
| 659 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -648,11 +648,11 @@ | |
| 648 | "SELECT atype, count(*), sum(isDelta), sum(szCmpr), sum(szExp)" |
| 649 | " FROM artstat GROUP BY 1" |
| 650 | " UNION ALL " |
| 651 | "SELECT 'ALL', count(*), sum(isDelta), sum(szCmpr), sum(szExp)" |
| 652 | " FROM artstat" |
| 653 | " ORDER BY 4;" |
| 654 | ); |
| 655 | @ <table class='sortable' border='1' \ |
| 656 | @ data-column-types='tkkkkk' data-init-sort='5'> |
| 657 | @ <thead><tr> |
| 658 | @ <th>Artifact Type</th> |
| 659 |