If the user enters text that is contained anywhere in either the agency or department name (case-insensitively), it will show up in the autocomplete. The autocompleter isn't currently smart enough to match queries that straddle the two names, though. This means that both judicial and supreme will match Judicial Branch - Supreme Court, but judical supreme will not.
This fixes #8.
If the user enters text that is contained anywhere in either the agency or department name (case-insensitively), it will show up in the autocomplete. The autocompleter isn't currently smart enough to match queries that straddle the two names, though. This means that both
judicial
andsupreme
will match Judicial Branch - Supreme Court, butjudical supreme
will not.