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:
parent
19b36a2d60
commit
e04fb9a877
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue