-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The Search Construction component (and possibly others) allows for searching on multiple keywords. The descriptions suggest that constructions with any of the keywords will be returned, and the use of a function called any_keyword_in_string
suggests that is the intent. However, that function actually uses the python all()
function instead of any()
:
honeybee-core/honeybee/search.py
Line 49 in 29bf4d4
return all(kw in name for kw in keywords) |
The result is that searching on multiple keywords tends to return no results instead of more results.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request