diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-12-17 12:27:38 -0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-12-18 23:00:33 -0500 |
commit | cf7aa4189386a4d4ffd8eb2cc80992fe1603f0c1 (patch) | |
tree | 74c06387e9eddc6287500a1a0aa92fe84a793cd0 /youtube/templates/channel.html | |
parent | e27650b457dc64b3a3990c1eadd7d8cb0789ba1d (diff) | |
download | yt-local-cf7aa4189386a4d4ffd8eb2cc80992fe1603f0c1.tar.lz yt-local-cf7aa4189386a4d4ffd8eb2cc80992fe1603f0c1.tar.xz yt-local-cf7aa4189386a4d4ffd8eb2cc80992fe1603f0c1.zip |
channel: include first and last pages when sorting by new
Last page as a substitute for sorting by oldest since sorting by
oldest doesn't allow arbitrary page numbers
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/templates/channel.html')
-rw-r--r-- | youtube/templates/channel.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/channel.html b/youtube/templates/channel.html index 7ac36d4..780b651 100644 --- a/youtube/templates/channel.html +++ b/youtube/templates/channel.html @@ -107,7 +107,7 @@ <footer class="pagination-container"> {% if current_tab == 'videos' %} <nav class="pagination-list"> - {{ common_elements.page_buttons(number_of_pages, channel_url + '/' + current_tab, parameters_dictionary) }} + {{ common_elements.page_buttons(number_of_pages, channel_url + '/' + current_tab, parameters_dictionary, include_ends=(current_sort.__str__() == '3')) }} </nav> {% elif current_tab == 'search' %} <nav class="next-previous-button-row"> |