From 10ac6c3c6107cd4deaae922bb681588a0ff410a2 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 11 Dec 2007 15:06:01 -0500 Subject: [PATCH] Enable searching for multiple things at once --- ipa-server/xmlrpc-server/funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipa-server/xmlrpc-server/funcs.py b/ipa-server/xmlrpc-server/funcs.py index 4943da24d..528b138ba 100644 --- a/ipa-server/xmlrpc-server/funcs.py +++ b/ipa-server/xmlrpc-server/funcs.py @@ -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)