Playlet backend channel sort options (#649)

* Playlet backend channel sort options

* tweak
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2025-06-10 09:29:55 -04:00
1 parent 68aeec3d6f
commit d054dd64a5
7 files changed
+159 -26

No files matched your search

@@ -129,6 +129,10 @@ function VideoRowListRowContentTask(input as object) as object
hasContinuation = not StringUtils.IsNullOrEmpty(response.result.continuation)
feedSource.state.continuation = ValidString(response.result.continuation)
if response.result.sortOptions <> invalid
feedSource.state.sortOptions = response.result.sortOptions
end if
if addedItemCount > 0
pageType = feedSource.state.paginationType
if response.result.isLastPage = true or (hadContinuation and not hasContinuation)