web/views/_paging.erb in sidekiq-2.15.2 vs web/views/_paging.erb in sidekiq-2.16.0

- old
+ new

@@ -1,23 +1,23 @@ <% if @total_size > @count %> <ul class="pagination pull-right"> <li class="<%= 'disabled' if @current_page == 1 %>"> - <a href="<%= url %>?page=1">«</a> + <a href="<%= url %>?page=1">&laquo;</a> </li> <% if @current_page > 1 %> <li> - <a href="<%= url %>?page=<%= @current_page - 1 %>"><%= @current_page - 1 %></a> + <a href="<%= url %>?<%= qparams(page: @current_page - 1) %>"><%= @current_page - 1 %></a> </li> <% end %> <li class="disabled"> - <a href="<%= url %>?page=<%= @current_page %>"><%= @current_page %></a> + <a href="<%= url %>?<%= qparams(page: @current_page) %>"><%= @current_page %></a> </li> <% if @total_size > @current_page * @count %> <li> - <a href="<%= url %>?page=<%= @current_page + 1 %>"><%= @current_page + 1 %></a> + <a href="<%= url %>?<%= qparams(page: @current_page + 1) %>"><%= @current_page + 1 %></a> </li> <% end %> <li class="<%= 'disabled' if @total_size <= @current_page * @count %>"> - <a href="<%= url %>?page=<%= (@total_size.to_f / @count).ceil %>">»</a> + <a href="<%= url %>?<%= qparams(page: (@total_size.to_f / @count).ceil) %>">&raquo;</a> </li> </ul> <% end %>