From abc6f32645e9fa311384c79106409ce7dd93760f Mon Sep 17 00:00:00 2001 From: Yozora XCII Date: Sun, 26 May 2024 23:41:48 +0100 Subject: [PATCH] add secondary sorting in correct place --- docs/files/builders/plex.md | 4 +++- docs/kometa/guides/order.md | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/docs/files/builders/plex.md b/docs/files/builders/plex.md index c74c7fd3..864e9b1a 100644 --- a/docs/files/builders/plex.md +++ b/docs/files/builders/plex.md @@ -440,7 +440,9 @@ collections: plex_search: all: year.gte: 2010 - sort_by: audience_rating.desc + sort_by: + - year.desc + - audience_rating.desc limit: 20 ``` diff --git a/docs/kometa/guides/order.md b/docs/kometa/guides/order.md index fbe08ef5..a5315fba 100644 --- a/docs/kometa/guides/order.md +++ b/docs/kometa/guides/order.md @@ -239,4 +239,19 @@ The Sort Orders available for "Smart" collections are outlined on the **[Smart P Marvel Cinematic Universe: trakt_list: https://trakt.tv/users/jawann2002/lists/marvel-cinematic-universe-movies?sort=rank,asc collection_order: added.desc - ``` \ No newline at end of file + ``` +### Secondary Sorting +You can also leverage "Secondary Sorting" This goes beyond the single sort settings you can apply to a collection in Plex. + +???+ example "Example 8 - Secondary Sorting" + ```yaml + collections: + Best 2010+ Movies (By Year): + smart_filter: + all: + year.gte: 2010 + sort_by: + - year.desc + - audience_rating.desc + limit: 20 + ``` \ No newline at end of file