From 62e46b7a366fa10d376a5a95eb9051f581fa7f60 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Thu, 1 Apr 2021 18:46:49 +0000 Subject: Fix missing last page in playlists --- src/invidious/routes/playlists.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/invidious/routes/playlists.cr b/src/invidious/routes/playlists.cr index 73c14155..1f7fa27d 100644 --- a/src/invidious/routes/playlists.cr +++ b/src/invidious/routes/playlists.cr @@ -434,7 +434,7 @@ class Invidious::Routes::Playlists < Invidious::Routes::BaseRoute end page_count = (playlist.video_count / 100).to_i - page_count = 1 if page_count == 0 + page_count += 1 if (playlist.video_count % 100) > 0 if page > page_count return env.redirect "/playlist?list=#{plid}&page=#{page_count}" -- cgit v1.2.3 ' value='switch'/> A simple web extension that redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives. www-data
summaryrefslogtreecommitdiffstats
path: root/assets/remove-twitter-sw.js (unfollow)
AgeCommit message (Expand)Author
2021-10-20Clarify READMESiddharth Singh
2021-10-19Fix typo in "Toggle Wikipedia redirects" aria labelAlyssa Ross
2021-10-16Remove Onion v2 links ...xanoni
2021-08-15Fixed french typo in store.mdMonsieurBibo
2021-07-26Update messages.jsonElaborendum
2021-07-25Disable Wikiless redirects by default, add "New" tag (#232).v1.1.49SimonBrazell
2021-07-17add libreddit instancegit-bruh
2021-07-14removing invidious.fdn.frEmilien Devos
2021-07-12cleanupKotuklion
2021-07-12better GET processingKotuklion
2021-07-12check host instead of the whole href for occurence of wikipedia.orgKotuklion
2021-07-12left some unnecessary spaces here and thereKotuklion
2021-07-12fix minor typosKotuklion
2021-07-12add Wikiless supportKotuklion
2021-07-11Italian translation fixunbranched
2021-07-10Add redirect for Norwegian Google TranslateTim HÄrek Andreassen
2021-07-10Bump version & update dependencies.v1.1.48SimonBrazell
2021-07-10Closes #242: remove "new" tag from SimplyTranslate.SimonBrazell
2021-06-16Fixes #238SimonBrazell
2021-06-16Redirect Twitter "video" subdomain & update dev dependencies.SimonBrazell
2021-06-16Fixed license linkGaurang Tandon
2021-06-16Added reddit.artemislena.euFantasyCookie17
2021-06-12Only append autoplay parameter if necessarybopol