mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Turning off autocomplete for the time being.
This commit is contained in:
parent
a47fa4db0f
commit
ec66863811
1 changed files with 3 additions and 3 deletions
|
@ -74,11 +74,11 @@ def feed_autocomplete(request):
|
|||
query = request.GET.get('term')
|
||||
version = int(request.GET.get('v', 1))
|
||||
|
||||
if not user.profile.is_premium:
|
||||
return dict(code=-1, message="Overloaded, no autocomplete results.")
|
||||
if True or not user.profile.is_premium:
|
||||
return dict(code=-1, message="Overloaded, no autocomplete results.", feeds=[], term=query)
|
||||
|
||||
if not query:
|
||||
return dict(code=-1, message="Specify a search 'term'.")
|
||||
return dict(code=-1, message="Specify a search 'term'.", feeds=[], term=query)
|
||||
|
||||
feeds = []
|
||||
for field in ['feed_address', 'feed_title', 'feed_link']:
|
||||
|
|
Loading…
Add table
Reference in a new issue