Skip to content
Commit f449f49a authored by Jack Hill's avatar Jack Hill Committed by Nate Graham
Browse files

Fix Recently and Frequently Played sort buttons

The sortRole for both views were being changed to TitleRole, since each
view is track-based (i.e. they display tracks, as opposed to albums,
artists, etc.). I think the function responsible for this exists for
future purposes when users will be able to switch between grid/list
views manually.

Solution to is to just hardcode the sortRole and sortOrder of each view.
This also fixes the problem where the sort menu had no text.

Note that the sorting for "Frequently Played" currently does sort purely
based on each tracks' play count. This will be addressed elsewhere.

BUG: 442176
FIXED-IN: 21.12.2
parent fc6c60e5
Pipeline #303433 passed with stage
in 19 minutes and 25 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment