Commit 05b6ee7f by jgirardet Committed by Sébastien Eustace

bugfix search only names (#660)

parent 5c6143fd
......@@ -15,7 +15,7 @@ class SearchCommand(Command):
flags = PyPiRepository.SEARCH_FULLTEXT
if self.option("only-name"):
flags = PyPiRepository.SEARCH_FULLTEXT
flags = PyPiRepository.SEARCH_NAME
results = PyPiRepository().search(self.argument("tokens"), flags)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment