Correct a swap of sort by and sort order

This commit is contained in:
Nick Bisby 2019-06-16 19:02:22 -05:00
parent aa09a138f0
commit 03938b911b

View File

@ -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")