summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2007-12-11 15:06:01 -0500
committerRob Crittenden <rcritten@redhat.com>2007-12-11 15:06:01 -0500
commit10ac6c3c6107cd4deaae922bb681588a0ff410a2 (patch)
tree96bd596aeff8e69f8dbc721a760441a78a912584
parent5215b21ea404f2370bfdd4a2e452577e065a718c (diff)
downloadfreeipa.git-10ac6c3c6107cd4deaae922bb681588a0ff410a2.tar.gz
freeipa.git-10ac6c3c6107cd4deaae922bb681588a0ff410a2.tar.xz
freeipa.git-10ac6c3c6107cd4deaae922bb681588a0ff410a2.zip
Enable searching for multiple things at once
-rw-r--r--ipa-server/xmlrpc-server/funcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/xmlrpc-server/funcs.py b/ipa-server/xmlrpc-server/funcs.py
index 4943da24..528b138b 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)