From 03938b911bce7651a3639564b4413b51ed1ea795 Mon Sep 17 00:00:00 2001 From: Nick Bisby Date: Sun, 16 Jun 2019 19:02:22 -0500 Subject: [PATCH] Correct a swap of sort by and sort order --- source/ShowScenes.brs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/ShowScenes.brs b/source/ShowScenes.brs index a05d70a1..7b710b5f 100644 --- a/source/ShowScenes.brs +++ b/source/ShowScenes.brs @@ -296,8 +296,10 @@ sub ShowMovieOptions(library) pager.currentPage = page_num options_list = ItemList(library.id, {"limit": page_size, "StartIndex": page_size * (page_num - 1), - "SortBy": sort_order, - "SortOrder": sort_field }) + "SortBy": sort_field, + "SortOrder": sort_order, + "IncludeItemTypes": "Movie" + }) options.movieData = options_list options.setFocus(true) else if nodeEventQ(msg, "itemSelected") @@ -624,8 +626,8 @@ sub ShowCollections(library) pager.currentPage = page_num options_list = ItemList(library.id, {"limit": page_size, "StartIndex": page_size * (page_num - 1), - "SortBy": sort_order, - "SortOrder": sort_field }) + "SortBy": sort_field, + "SortOrder": sort_order }) options.itemData = options_list options.setFocus(true) else if nodeEventQ(msg, "itemSelected")