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>
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user