2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

fix the build

This commit is contained in:
Arpit Jalan 2018-01-17 12:57:33 +05:30
parent 19b36a2d60
commit e04fb9a877
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ class Admin::SearchLogsController < Admin::AdminController
details = SearchLog.term_details(term, period&.to_sym, search_type&.to_sym)
raise Discourse::NotFound if details.blank?
result = Search.execute(params[:term], { guardian: guardian })
result = Search.execute(params[:term], guardian: guardian)
details[:search_result] = serialize_data(result, GroupedSearchResultSerializer, result: result)
render_json_dump(term: details)
end