Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Secondary sorting is ineffective for entries with the same displayed install date

Aperta Adatta ai principianti
#460 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
74/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
desktop

Direzione di ricerca

Individua la colonna della griglia associata a InstallDate e formattata con Language.Date_Format ({0:d}), quindi confronta la relativa chiave di ordinamento con la logica di raggruppamento esistente che usa InstallDate?.Date. Inizia individuando questi riferimenti nel progetto. Il lavoro è terminato quando l’ordinamento per data di installazione e poi per versione ordina per versione le voci che condividono la stessa data visualizzata, preservando la visualizzazione della data.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

  1. Find multiple driver entries with the same displayed Install Date but different versions.
  2. Click the Install Date column header to sort in ascending order.
  3. 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.

Lingua principale
C#
Stelle
11.8k
Fork
557
Merge medio
1g 23h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lostindark/DriverStoreExplorer

Tutte le issue di lostindark/DriverStoreExplorer

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.