A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nedbat/coveragepy/issues/1766 below:

HTML column sorting is inconsistent across index pages · Issue #1766 · nedbat/coveragepy · GitHub

Describe the bug

  1. Visit the sample HTML report: https://nedbatchelder.com/files/sample_coverage_html/index.html
  2. Click the "coverage" column to sort by total coverage percentage
  3. Click the "Functions" tab at the top to switch to the by-function index page.
  4. Now the "partial" column is sorted.

This is because the number of the column is stored, but the function and class index pages have one more column, so the numbering is off.

This is with coverage.py 7.5.0.

Expected behavior
If you've sorted by a column, the same-named column should be sorted when switching to another page.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4