mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 05:26:17 +02:00
Corrected tests
This commit is contained in:
parent
4bf656f425
commit
cc4d4d0e1f
16 changed files with 56 additions and 41 deletions
|
@ -15,7 +15,8 @@ module Admin
|
|||
|
||||
normalize_search_parameters do
|
||||
@q = @auctions.ransack(PartialSearchFormatter.format(params[:q]))
|
||||
@auctions = @q.result.page(params[:page])
|
||||
@result = @q.result
|
||||
@auctions = @result.page(params[:page])
|
||||
end
|
||||
|
||||
@auctions = @auctions.per(params[:results_per_page_auction]) if params[:results_per_page_auction].to_i.positive?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue