Secondary sorting is ineffective for entries with the same displayed install date
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 74/100
Hướng nghiên cứu
Tìm cột lưới được liên kết với InstallDate và định dạng bằng Language.Date_Format ({0:d}), sau đó so sánh khóa sắp xếp của cột này với logic nhóm hiện có sử dụng InstallDate?.Date. Trước tiên, hãy tìm các tham chiếu đó trong dự án. Công việc được xem là hoàn tất khi việc sắp xếp theo Ngày cài đặt rồi đến Phiên bản sắp xếp các mục có cùng ngày hiển thị theo phiên bản, đồng thời vẫn giữ nguyên cách hiển thị ngày.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Title
Secondary sorting is ineffective for entries with the same displayed install date
Description
The Install Date column displays only the date, but sorting uses the full timestamp, including the time and fractional seconds.
As a result, entries with the same displayed install date are ordered by their hidden timestamps. A secondary sort criterion, such as Version, is only applied when the full timestamps match exactly.
This makes it difficult to sort drivers by install date and then by version within each day.
Steps to reproduce
- Find multiple driver entries with the same displayed Install Date but different versions.
- Click the Install Date column header to sort in ascending order.
- Hold Shift and click the Version column header to set version as the secondary sort criterion in ascending order.
Expected behavior
Entries with the same displayed install date should be sorted by version in ascending order.
For example:
| Install Date | Version |
|---|---|
| 2026/10/06 | 1.0 |
| 2026/10/06 | 2.0 |
| 2026/10/06 | 3.0 |
Actual behavior
Entries are sorted by their full install timestamps, even though the time is not displayed. Version sorting only takes effect when those timestamps match exactly.
For example, entries with these underlying values would appear in this order:
| Displayed Install Date | Hidden Time | Version |
|---|---|---|
| 2026/10/06 | 09:00:00 | 3.0 |
| 2026/10/06 | 10:00:00 | 1.0 |
| 2026/10/06 | 11:00:00 | 2.0 |
Although all three entries display the same install date, they are not ordered by version.
Implementation details
The column is bound to InstallDate and formatted using Language.Date_Format ({0:d}), which displays only the date. Sorting therefore compares the full DateTime value rather than the displayed date.
The grouping logic already uses InstallDate?.Date, so grouping and sorting use different levels of precision.
Suggested improvement
Use the date-only value (InstallDate?.Date) as the sort key for the Install Date column, so that secondary sorting applies to entries installed on the same day.
- Ngôn ngữ chính
- C#
- Star
- 11.8k
- Fork
- 557
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của lostindark/DriverStoreExplorer
-
Feature Request (EASY)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
lostindark/DriverStoreExplorer#442 · 1 bình luận ·
-
Not working on W11 any more.Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
lostindark/DriverStoreExplorer#456 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
lostindark/DriverStoreExplorer#454 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của lostindark/DriverStoreExplorer
Issue tương tự
-
Python: Bug: split_plaintext_paragraph / split_markdown_paragraph can return a chunk larger than max_tokensCó thể đã có người làm @xThreeh đã nhận hôm nay. Đang mởpython triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
microsoft/semantic-kernel#14566 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
rjmurillo/moq.analyzers#1384 ·
-
Variables passed to Compensated are not set on the routing slipCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
MassTransit/MassTransit#6249 ·
-
security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Sendspin/sendspin-dotnet#339 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
owasp-dep-scan/dosai#79 ·
Maintainer thường phản hồi trong vòng 1 ngày