From cf61af67abc1bffdeefd080542d11c2eae13d754 Mon Sep 17 00:00:00 2001 From: src-tinkerer Date: Thu, 30 Nov 2023 14:34:01 +0330 Subject: Update src/invidious/routes/channels.cr sort_by for consistency --- src/invidious/routes/channels.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/invidious/routes/channels.cr b/src/invidious/routes/channels.cr index c18644ec..b5b4ad96 100644 --- a/src/invidious/routes/channels.cr +++ b/src/invidious/routes/channels.cr @@ -81,12 +81,12 @@ module Invidious::Routes::Channels return env.redirect "/channel/#{channel.ucid}" end - sort_by = env.params.query["sort_by"]?.try &.downcase + sort_by = env.params.query["sort_by"]?.try &.downcase || "newest" sort_options = {"newest", "oldest", "popular"} # Fetch items and continuation token items, next_continuation = Channel::Tabs.get_60_livestreams( - channel, continuation: continuation, sort_by: (sort_by || "newest") + channel, continuation: continuation, sort_by: sort_by ) selected_tab = Frontend::ChannelPage::TabsAvailable::Streams -- cgit v1.2.3 id=bf470704a5a3071cebb1d558efaef8542a16dde6'>refslogtreecommitdiffstats
path: root/scripts/deploy-database.sh (unfollow)
AgeCommit message (Collapse)Author
2023-09-16Bump stale timer for PRssyeopite
2023-09-16Bump crystal-install tooSamantaz Fox
2023-09-16Update crystal version matrix in ci.ymlSamantaz Fox
2023-09-16Test crystal 1.8.2Émilien (perso)
2023-09-11HTMLl.Escape the playlist subtitleChunkyProgrammer
2023-09-11Playlist: Use subtitle when author is missingChunkyProgrammer
2023-08-29Remove trailing whitespace in config documentationsyeopite
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-08-25Revert broken i18next v3 changes made by weblateSamantaz Fox
2023-08-24Update src/invidious/videos/caption.crsyeopite
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-08-24Update src/invidious/videos/transcript.crsyeopite
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-08-24Refactor structure of caption.crsyeopite
Rename CaptionsMetadata to Metadata Nest Metadata under Captions Unnest LANGUAGES constant from Metadata to main Captions module
2023-08-21Update Hindi translationSnwglb
2023-08-21Update German translationEttore Atalan
2023-08-19Update Hindi translationSnwglb
2023-08-14Update Norwegian Bokmål translationPetter Reinholdtsen
2023-08-12Update Slovenian translationNoa Laznik
2023-08-10Update Slovak translationAti
2023-08-10Update Slovak translationMilan Šalka
2023-08-10Update errors.crsyeopite
2023-08-08Regression from #4037 | Fix storyboardssyeopite
PR #4037 introduced a workaround around YouTube's new integrity checks on streaming URLs. However, the usage of this workaround prevents storyboard data from being returned by InnerTube. This commit fixes that by only using the workaround when calling try_fetch_streaming_data
2023-08-08Add workaround for storyboards on priv. instancessyeopite
An upstream problem with videojs-vtt-thumbnails means that URLs gets joined incorrectly on any instance where `domain`, `external_port` and `https_only` aren't set. This commit adds some logic with the 404 handler to mitigate this problem. This is however only a workaround. See: https://github.com/iv-org/invidious/issues/3117 https://github.com/chrisboustead/videojs-vtt-thumbnails/issues/31
2023-08-07Update Slovenian translationDamjan Gerl
2023-08-07Update Portuguese translationLeonardo Colman
2023-08-07Update Vietnamese translationHoang Minh Pham
2023-08-07Update Portuguese (Brazil) translationLeonardo Colman
2023-08-07Update Chinese (Simplified) translationEric
2023-08-07Update Italian translationrandom r
2023-08-07Update Italian translationatilluF
2023-08-07Update French translationJohn Donne
2023-08-07Update Sinhala translationOverplant Poster
2023-08-07Update Odia translationSubham Jena
2023-08-07Update Czech translationFjuro
2023-08-07Update Croatian translationMilo Ivir
2023-08-07Update Portuguese (Brazil) translationjoaooliva
2023-08-07Update Japanese translationmaboroshin
2023-08-07Update Russian translationVoidWalker
2023-08-07Update Chinese (Traditional) translationJeff Huang