Skip to content
Snippets Groups Projects
Commit cc3272b0 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix #885

parent 011606e5
No related branches found
No related tags found
No related merge requests found
class Extranet::Contacts::SearchController < Extranet::Contacts::ApplicationController
def index
@term = params[:term]
@people = current_extranet.connected_persons.for_search_term(@term)
@organizations = current_extranet.connected_organizations.for_search_term(@term)
@people = current_extranet.connected_persons.for_search_term(@term).ordered.limit(20)
@organizations = current_extranet.connected_organizations.for_search_term(@term).ordered.limit(20)
breadcrumb
add_breadcrumb 'Recherche'
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment