FIX: in:title should work irrespective of the order. (#6968)

This commit is contained in:
Bianca Nenciu
2019-02-05 11:54:52 +02:00
committed by Régis Hanol
parent 2c222e16fe
commit 4f3ee86bbd
2 changed files with 14 additions and 2 deletions

View File

@@ -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