mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
removed count request
This commit is contained in:
parent
b5b263f4b2
commit
283bd2090e
2 changed files with 2 additions and 3 deletions
|
@ -11,7 +11,6 @@ module Admin
|
|||
@epp_logs = @epp_logs.where("extract(epoch from created_at) >= extract(epoch from ?::timestamp)", Time.parse(params[:q][:created_at_gteq])) if params[:q][:created_at_gteq].present?
|
||||
@epp_logs = @epp_logs.where("extract(epoch from created_at) <= extract(epoch from ?::timestamp)", Time.parse(params[:q][:created_at_lteq])) if params[:q][:created_at_lteq].present?
|
||||
@epp_logs = @epp_logs.page(params[:page])
|
||||
@count = @q.result.count
|
||||
@epp_logs = @epp_logs.per(params[:results_per_page]) if paginate?
|
||||
|
||||
render_by_format('admin/epp_logs/index', 'epp_logs')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue