fixes to user search

This commit is contained in:
albert
2013-02-21 12:42:41 -05:00
parent 762bbd2caf
commit 78f1d0f69a
24 changed files with 48 additions and 30 deletions

View File

@@ -18,7 +18,7 @@ class ArtistsController < ApplicationController
end
def index
@artists = Artist.search(params[:search]).paginate(params[:page])
@artists = Artist.search(params[:search]).order("id desc").paginate(params[:page])
respond_with(@artists) do |format|
format.xml do
render :xml => @artists.to_xml(:include => [:urls])