mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
fix pagination when @total_size is devisible by @count
This commit is contained in:
parent
1a7e29d04b
commit
a69088c945
1 changed files with 1 additions and 1 deletions
|
@ -12,4 +12,4 @@
|
|||
li
|
||||
a href="#{url}?page=#{@current_page + 1}" #{@current_page + 1}
|
||||
li class="#{'disabled' if @total_size <= @current_page * @count}"
|
||||
a href="#{url}?page=#{(@total_size / @count).ceil + 1}" »
|
||||
a href="#{url}?page=#{(@total_size.to_f / @count).ceil}" »
|
||||
|
|
Loading…
Add table
Reference in a new issue