forked from MarseyWorld/MarseyWorld
give ppl an explanation when searching comments
parent
5da772ab61
commit
7212fa44ef
|
@ -184,7 +184,8 @@ def searchposts(v):
|
|||
@auth_required
|
||||
def searchcomments(v):
|
||||
|
||||
abort(403)
|
||||
return {"error": "Searching comments is disabled temporarily."}, 403
|
||||
|
||||
query = request.values.get("q", '').strip()
|
||||
|
||||
try: page = max(1, int(request.values.get("page", 1)))
|
||||
|
|
Loading…
Reference in New Issue