Repository navigation
Commit e9fba18
committed
Sort a site's dynamic scans by date, newest first
The scan list on a site's page sorted by row id, on the assumption that id
order and time order agree. They do not for a scan recorded by hand or
imported from another server, which gets a new id but keeps its own older
date, so it jumped to the top. The list now sorts by the scan's own date,
newest first, and falls back to when it started and then the id for a scan
that has no date yet.1 parent 70b73e9 commit e9fba18
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
677 | | - | |
678 | | - | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
679 | 685 | | |
680 | 686 | | |
681 | 687 | | |
682 | 688 | | |
683 | | - | |
| 689 | + | |
684 | 690 | | |
685 | 691 | | |
686 | 692 | | |
| |||
0 commit comments