diff --git a/pubs/commands/list_cmd.py b/pubs/commands/list_cmd.py index 39d6219..04e51ee 100644 --- a/pubs/commands/list_cmd.py +++ b/pubs/commands/list_cmd.py @@ -69,7 +69,7 @@ def _check_author_match(paper, query, case_sensitive=False): """Only checks within last names.""" if not 'author' in paper.bibentry: return False - return any([query == _lower(bibstruct.author_last(p), lower=(not case_sensitive)) + return any([query in _lower(bibstruct.author_last(p), lower=(not case_sensitive)) for p in paper.bibentry['author']])