mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Enable searching for multiple things at once
This commit is contained in:
parent
5215b21ea4
commit
10ac6c3c61
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user