aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorPiotr Niełacny <piotr.nielacny@gmail.com>2026-08-25 15:19:38 +0200
committerPiotr Niełacny <piotr.nielacny@gmail.com>2026-08-25 15:19:38 +0200
commit5e621d0e3f2102177210f162e72a5d73378063fb (patch)
tree0dc45a48ce637dde27d1c118d798eeae8ea092ca /Emby.Server.Implementations
parent422b2bb3d9193bfe0813d3d654919151eb355d82 (diff)
Order IsPlayed and IsUnplayed by the played state the filter reports
Ordering mapped both keys to the item's own stored UserData row. Folders do not have one: a series, season or box set counts as played when no descendant is left unplayed, which is what the isPlayed filter and the DTO both report. A mixed library therefore sorted every series and box set into the unplayed group, and a query could filter and sort by two different notions of "played". Extract the filter's predicate into BuildIsPlayedFilter and route both sort keys through it so the two cannot drift apart again.
Diffstat (limited to 'Emby.Server.Implementations')
0 files changed, 0 insertions, 0 deletions