0
검색은 잘되지만 정렬은 작동하지 않습니다. 도와주세요?will_paginate에서 검색 할 때 정렬 순서를 결합 할 수 없습니다.
@accounts1 = Account.search(params[:search])
@accounts = @accounts1.paginate(:order =>(sort_column + " " + sort_direction),
:per_page => 5,
:page => params[:accounts_page])