diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2025-12-31 16:18:02 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2026-01-02 10:11:32 +0000 |
| commit | 861b0eea752e332cb20cb1b83a8bb1885e78c537 (patch) | |
| tree | 0b659b4c28fec8577c801ae5583fbefc0651ea92 /pkg/manager | |
| parent | 2733a37369ec000956672447ea0eb130815102bd (diff) | |
pkg/manager/html: fix sorting by "Repro Attempts" column
Sorting using numSort for column with empty non-number rows does not work.
Always print repro attemps, but make 0 inactive (gray).
Diffstat (limited to 'pkg/manager')
| -rw-r--r-- | pkg/manager/html/main.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/manager/html/main.html b/pkg/manager/html/main.html index 43652cbf6..ab279f668 100644 --- a/pkg/manager/html/main.html +++ b/pkg/manager/html/main.html @@ -31,7 +31,7 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the <th><a onclick="return sortTable(this, 'First Time', textSort, true)" href="#">First Time</a></th> <th><a onclick="return sortTable(this, 'Last Time', textSort, true)" href="#">Last Time</a></th> <th><a onclick="return sortTable(this, 'Report', textSort)" href="#">Report</a></th> - <th><a onclick="return sortTable(this, 'Repro Attempt Count', numSort)" href="#">Repro Attempt Count</a></th> + <th><a onclick="return sortTable(this, 'Repro Attempts', numSort)" href="#">Repro Attempts</a></th> </tr> </thead> <tbody> @@ -57,7 +57,7 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the <a href="/file?name={{$c.StraceFile}}">Strace</a> {{end}} </td> - <td class="stat">{{if $c.ReproAttempts}}{{$c.ReproAttempts}}{{end}}</td> + <td class="stat {{if not $c.ReproAttempts}}inactive{{end}}">{{$c.ReproAttempts}}</td> </tr> {{end}} </tbody> |
