mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: in:title should work irrespective of the order. (#6968)
This commit is contained in:
committed by
Régis Hanol
parent
2c222e16fe
commit
4f3ee86bbd
@@ -157,6 +157,7 @@ class Search
|
||||
term.gsub!(/[\u201c\u201d]/, '"')
|
||||
|
||||
@clean_term = term
|
||||
@in_title = false
|
||||
|
||||
term = process_advanced_search!(term)
|
||||
|
||||
@@ -551,8 +552,6 @@ class Search
|
||||
end
|
||||
end
|
||||
|
||||
@in_title = false
|
||||
|
||||
if word == 'order:latest' || word == 'l'
|
||||
@order = :latest
|
||||
nil
|
||||
|
||||
Reference in New Issue
Block a user