diff --git a/files/routes/search.py b/files/routes/search.py index 48bc070ce..709e0039c 100644 --- a/files/routes/search.py +++ b/files/routes/search.py @@ -19,7 +19,7 @@ valid_params = [ 'post', 'before', 'after', - 'title', + 'title_only', 'sentto', 'hole', 'subreddit', @@ -101,7 +101,7 @@ def searchposts(v): if 'q' in criteria: params = [Post.title] - if 'title' not in criteria: + if 'title_only' not in criteria: params += [Post.body, Post.url, Post.embed] words = [] diff --git a/files/templates/search.html b/files/templates/search.html index 54f91ca5b..8e482e3df 100644 --- a/files/templates/search.html +++ b/files/templates/search.html @@ -71,7 +71,7 @@