TV series Smart Collection sort order

@tom80H

I am able to confirm there is a bug with smart collection sorting using the “Last Episode Date Added” when combined with advanced filters for shared users.

  • This bug only occurs within a smart collection of shows (i.e. query parameters type=2&sort=episode.addedAt:desc). A smart collection of episodes is sorted correctly.
  • There must be at least one advanced filter applied. The exact filter does not matter, and any filter will produce this bug.
  • If a shared user goes into the library and recreates the exact same filters themselves, the sort order is correct.

PMS Version 1.25.2.5319
Plex Web Version 4.72.0


In addition, while I was playing around with this, I discovered a different, but possibly related bug. The sorting is incorrect specifically when the the “Last Episode Date Added” sorting is combined with the “Network” advanced filter.

I chose three random shows in my library to demonstrate this bug. The correct order for the three shows when sorted by “Last Episode Date Added” (in descending order) is:

  1. The Expanse
  2. The Book of Boba Fett
  3. The Grand Tour

Using the “Last Episode Date Added” sort order by itself returns the correct order.

When combined with the “Network” filter, the order is mixed. I have not determined why this order is being returned.

When combined with a different filter such as “Show Title”, the order is correct.

Smart collection on the admin account with the correct order.

Smart collection on the shared user with the incorrect order.

2 Likes