mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Search by topic_id should not be restricted by SiteSetting.min_search_term_length.
This commit is contained in:
@@ -52,7 +52,8 @@ class SearchController < ApplicationController
|
||||
search_args[:include_blurbs] = params[:include_blurbs] == "true" if params[:include_blurbs].present?
|
||||
search_args[:search_for_id] = true if params[:search_for_id].present?
|
||||
|
||||
context,type = lookup_search_context
|
||||
context, type = lookup_search_context
|
||||
|
||||
if context
|
||||
search_args[:search_context] = context
|
||||
search_args[:type_filter] = type if type
|
||||
|
||||
Reference in New Issue
Block a user