Enable searching for multiple things at once

This commit is contained in:
Rob Crittenden 2007-12-11 15:06:01 -05:00
parent 5215b21ea4
commit 10ac6c3c61

View File

@ -316,7 +316,7 @@ class IPAServer:
# construct the giant match for all words
exact_match_filter = "(&"
partial_match_filter = "(&"
partial_match_filter = "(|"
for word in criteria_words:
exact_match_filter += gen_search_pattern(word)
partial_match_filter += gen_search_pattern("*%s*" % word)