mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Corrected tests
This commit is contained in:
parent
4bf656f425
commit
cc4d4d0e1f
16 changed files with 56 additions and 41 deletions
|
@ -39,7 +39,8 @@ module Admin
|
|||
|
||||
@q = invoices.ransack(params[:q])
|
||||
@q.sorts = 'number desc' if @q.sorts.empty?
|
||||
@invoices = @q.result.page(params[:page])
|
||||
@result = @q.result
|
||||
@invoices = @result.page(params[:page])
|
||||
@invoices = @invoices.per(params[:results_per_page]) if paginate?
|
||||
|
||||
render_by_format('admin/invoices/index', 'invoices')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue