Skip to content

[TF2] Fix wrong sorting behavior of the mute UI - #2021

Open
rockbruno wants to merge 1 commit into
ValveSoftware:masterfrom
rockbruno:rochab/tf2-mute-sorting
Open

[TF2] Fix wrong sorting behavior of the mute UI#2021
rockbruno wants to merge 1 commit into
ValveSoftware:masterfrom
rockbruno:rochab/tf2-mute-sorting

Conversation

@rockbruno

@rockbruno rockbruno commented Aug 25, 2026

Copy link
Copy Markdown

The voice mute UI has two issues with the column sorting behavior:

  • Time sorting is sorting by the formatted string instead of the underlying seconds value, causing e.g. hour-long sessions to be displayed out of order
  • The status sorting doesn't work at all. Although the logic is updating the UI text, it never updates the actual underlying data source, so attempting to sort it always retains whatever order you already have.

This PR fixes both issues.

Before:

Screenshot_20260825_143025

After examples:

Screenshot_20260825_142830 Screenshot_20260825_142805

Fixes ValveSoftware/Source-1-Games#8238

Co-Authored-By: Luciano Ferruzzi <ferruzzi.luciano@gmail.com>
@rockbruno
rockbruno force-pushed the rochab/tf2-mute-sorting branch from 773726f to b5986df Compare August 26, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TF2] Mute Players UI sorting is broken for the time and status columns

1 participant