mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-09-03 20:52:56 -05:00
Enable searching for multiple things at once
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user