ref: master
app/views/profile_search/_results_list.html.erb
<% if @results %><% @results.sort_by { |r| r.is_image? ? 0 : 1}.each do |result| %> <%= render :partial => partial_for_class(result.class), :locals => { :article => result } %> <% end %>
<%= pagination_links @results %> <% end %>