Fix bugs in search (string conversion)
This commit is contained in:
		| @@ -44,7 +44,10 @@ class Search(Index): | ||||
|  | ||||
|         posts = [] | ||||
|         for post_id in post_list: | ||||
|             try: | ||||
|                 post = Post.objects.get(pk=post_id) | ||||
|             except: | ||||
|                 continue | ||||
|             if not post is None: | ||||
|                 posts.append(post) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user