Skip to content

Commit

Permalink
Update bioimage-model-zoo-extension.imjoy.html
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway authored Nov 13, 2024
1 parent d27027d commit 731d924
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

def search_item(item: Dict[str, Any], keywords: List[str]) -> bool:
search_fields = [item.get('id', ''), item.get('nickname', ''), item.get('name', ''),
item.get('nickname_icon', ''), item.get('license', ''), item.get('description', ''), item.get('created'),
item.get('nickname_icon', ''), item.get('license', ''), item.get('description', ''), item.get('created')
] + [tag for tag in item.get('tags', [])]
search_fields += [author['name'] for author in item.get('authors', [])]
return any(matches_keywords(field, keywords) for field in search_fields)
Expand Down

0 comments on commit 731d924

Please sign in to comment.