Differences From Artifact [1bf556c728]:
- File src/report.c — part of check-in [965905c884] at 2015-01-04 20:54:00 on branch trunk — Enhance the /brlist output to show a count of the number of check-ins on each branch, and to separate the "Status" and "Resolution" into separate columns, with the "Status" column being sortable. Enhance the SortableTable() javascript to always sort ASC on initial click and only go to DESC on a second click of the same column. (user: drh size: 38147)
To Artifact [68fa0ee434]:
- File src/report.c — part of check-in [54d53deb16] at 2015-01-05 01:57:03 on branch trunk — Change the cursor to "pointer" for sortable columns of a table. (user: drh size: 38242)
| ︙ | |||
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 | 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 | + + |
@ }
@ if(x && x[0].rows && x[0].rows.length > 0) {
@ var sortRow = x[0].rows[0];
@ } else {
@ return;
@ }
@ for (var i=0; i<sortRow.cells.length; i++) {
@ if( columnTypes[i]=='x' ) continue;
@ sortRow.cells[i].sTable = this;
@ sortRow.cells[i].style.cursor = "pointer";
@ sortRow.cells[i].sortType = columnTypes[i] || 't';
@ sortRow.cells[i].onclick = function () {
@ this.sTable.sort(this);
@ return false;
@ }
@ }
@ }
|
| ︙ |