This commit is contained in:
albert
2013-03-22 09:58:31 -07:00
parent eed3772cdb
commit fd9ca8d2fc
4 changed files with 5 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ private
end
def index_by_note
@notes = Note.search(params[:search]).order("id desc").paginate(params[:page], :search_count => params[:search])
@notes = Note.search(params[:search]).order("id desc").paginate(params[:page], :limit => params[:limit], :search_count => params[:search])
respond_with(@notes) do |format|
format.html {render :action => "index_by_note"}
end