fix error
This commit is contained in:
parent
d910d3d99b
commit
23677b4798
|
@ -111,7 +111,7 @@ class Admin::RulingTimersController < OrbitMemberController
|
|||
if page <= 1
|
||||
@ruling_timer_history = @ruling_timer_history.page(0).per(per - 1)
|
||||
else
|
||||
@ruling_timer_history = @ruling_timer_history.limit(per).skip(per * page - 1)
|
||||
@ruling_timer_history = @ruling_timer_history.limit(per).skip(per * (page - 1) - 1)
|
||||
@ruling_timer_temp = nil
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue